Color #283254
A muted dark blue.
Conversions
#283254
rgb(40, 50, 84)
hsl(226.4, 35.5%, 24.3%)
hsv(226.4, 52.4%, 32.9%)
cmyk(52.4%, 40.5%, 0%, 67.1%)
lab(21.48, 6.62, -22.01)
lch(21.48, 22.98, 286.74)
oklch(32.5%, 0.0621, 270.28)
hwb(226.4, 15.7%, 67.1%)
Harmony colors
Accessibility
White text reads better on this background (12.54:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2d2d4d · ΔE 3.7
Deuteranopia
#2c2b4c · ΔE 4.2
Tritanopia
#294846 · ΔE 21.9
Achromatopsia
#343434 · ΔE 15.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #283254;
bg-[#283254]
Related colors
Frequently asked questions
#283254 (#283254) is rgb(40, 50, 84) in RGB.
No, #283254 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #283254, or check how it holds up for accessibility.