Skip to content
Kolorvia
#021978

Color #021978

A vivid, highly saturated dark blue.

Conversions

HEX
#021978
RGB
rgb(2, 25, 120)
HSL
hsl(228.3, 96.7%, 23.9%)
HSV / HSB
hsv(228.3, 98.3%, 47.1%)
CMYK
cmyk(98.3%, 79.2%, 0%, 52.9%)
LAB
lab(15.82, 33.24, -54.84)
LCH
lch(15.82, 64.13, 301.22)
OKLCH
oklch(28.8%, 0.1599, 264.36)
HWB
hwb(228.3, 0.8%, 52.9%)

Harmony colors

Complementary

#786102

Analogous

#025478
#021978
#260278

Triadic

#021978
#780219
#197802

Split-complementary

#021978
#782602
#547802

Tetradic

#021978
#610278
#786102
#197802

Square

#021978
#780254
#786102
#027826

Shades

Color #021978 mixed toward black.

#021564
#011150
#010c3c
#010828
#000414

Tints

Color #021978 mixed toward white.

#0326b7
#0434f7
#4065fc
#8098fd
#bfccfe

Tones

Color #021978 mixed toward gray.

#0c1f6e
#162564
#1f2b5a
#293151
#333747

Accessibility

Aa White text on this color
14.86:1
Aa Black text on this color
1.41:1

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

Under color vision deficiencies

Protanopia

#0e0f6a · ΔE 3.2

Deuteranopia

#0d0b67 · ΔE 4

Tritanopia

#045e5a · ΔE 35.5

Achromatopsia

#272727 · ΔE 26.4

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b

Frequently asked questions

#021978 (#021978) is rgb(2, 25, 120) in RGB.

No, #021978 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 #021978, 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.