Skip to content
Kolorvia
#28314e

Color #28314e

A muted dark blue.

Conversions

HEX
#28314e
RGB
rgb(40, 49, 78)
HSL
hsl(225.8, 32.2%, 23.1%)
HSV / HSB
hsv(225.8, 48.7%, 30.6%)
CMYK
cmyk(48.7%, 37.2%, 0%, 69.4%)
LAB
lab(20.82, 5.2, -19.04)
LCH
lch(20.82, 19.74, 285.28)
OKLCH
oklch(31.9%, 0.0534, 270.11)
HWB
hwb(225.8, 15.7%, 69.4%)

Harmony colors

Complementary

#4e4528

Analogous

#28444e
#28314e
#32284e

Triadic

#28314e
#4e2831
#314e28

Split-complementary

#28314e
#4e3228
#444e28

Tetradic

#28314e
#45284e
#4e4528
#314e28

Square

#28314e
#4e2844
#4e4528
#284e32

Shades

Color #28314e mixed toward black.

#212941
#1b2134
#141827
#0d101a
#07080d

Tints

Color #28314e mixed toward white.

#3e4c79
#5467a4
#7d8cbd
#a9b3d3
#d4d9e9

Tones

Color #28314e mixed toward gray.

#2b334b
#2e3448
#313644
#353841
#38393e

Accessibility

Aa White text on this color
12.81:1
Aa Black text on this color
1.64:1

White text reads better on this background (12.81:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#2c2c48 · ΔE 3.7

Deuteranopia

#2c2b47 · ΔE 4.2

Tritanopia

#294342 · ΔE 19.5

Achromatopsia

#323232 · ΔE 14

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #28314e;
Tailwind (arbitrary value)
bg-[#28314e]

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#28314e (#28314e) is rgb(40, 49, 78) in RGB.

No, #28314e is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #28314e, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.