Skip to content
Kolorvia
#284a9e

Color #284a9e

A moderately saturated dark blue.

Conversions

HEX
#284a9e
RGB
rgb(40, 74, 158)
HSL
hsl(222.7, 59.6%, 38.8%)
HSV / HSB
hsv(222.7, 74.7%, 62%)
CMYK
cmyk(74.7%, 53.2%, 0%, 38%)
LAB
lab(33.6, 18.2, -49.3)
LCH
lch(33.6, 52.55, 290.26)
OKLCH
oklch(43.4%, 0.1425, 264.57)
HWB
hwb(222.7, 15.7%, 38%)

Harmony colors

Complementary

#9e7c28

Analogous

#28859e
#284a9e
#41289e

Triadic

#284a9e
#9e284a
#4a9e28

Split-complementary

#284a9e
#9e4128
#859e28

Tetradic

#284a9e
#7c289e
#9e7c28
#4a9e28

Square

#284a9e
#9e2885
#9e7c28
#289e41

Shades

Color #284a9e mixed toward black.

#213e84
#1b3169
#14254f
#0d1935
#070c1a

Tints

Color #284a9e mixed toward white.

#325dc7
#597dd5
#829ddf
#acbeea
#d5def4

Tones

Color #284a9e mixed toward gray.

#324e94
#3c528a
#455680
#4f5b77
#595f6d

Accessibility

Aa White text on this color
8.19:1
Aa Black text on this color
2.56:1

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

Under color vision deficiencies

Protanopia

#3a3a8f · ΔE 7

Deuteranopia

#38358b · ΔE 8.3

Tritanopia

#2a827f · ΔE 32.8

Achromatopsia

#4f4f4f · ΔE 24.2

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

Code

CSS
background-color: #284a9e;
Tailwind (arbitrary value)
bg-[#284a9e]

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Light Slate Gray #778899
Slate Gray #708090
Dodger Blue #1e90ff

Frequently asked questions

#284a9e (#284a9e) is rgb(40, 74, 158) in RGB.

No, #284a9e is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #284a9e, 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.