#021D39#021D39

#021D39 is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 22.8% C 0.064 H 251.8°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#021D39
RGBrgb(2, 29, 57)
HSLhsl(211, 93%, 12%)
HSVhsv(211, 96%, 22%)
CMYKcmyk(96.5%, 49.1%, 0%, 77.6%)
CIE-LABlab(10.46, 2.46, -21.06)
CIE-LCHlch(10.46, 21.21, 276.65°)
OKLaboklab(22.85% -0.0199 -0.0604)
OKLCHoklch(22.85% 0.064 251.8)
XYZxyz(1.2026, 1.1869, 4.0358)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021D39 #391E02
analogous
#023939 #021D39 #020239
triadic
#021D39 #39021D #1D3902
tetradic
#021D39 #390239 #391E02 #023902
square
#021D39 #390239 #391E02 #023902
split-complementary
#021D39 #390202 #393902
monochromatic
#010F1E #010F1E #021D39 #043B74 #0659AF

Accessibility & contrast

On white

16.97
#021D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#021D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021D39
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021D39#FFFFFF#000000##FFFFFF
##021D391.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1F3A
Deuteranopia (green-blind)
#051A38
Tritanopia (blue-blind)
#002428
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #021d39;
/* rgb */ color: rgb(2, 29, 57);
/* oklch */ color: oklch(22.8% 0.064 251.8);
Tailwind
colors: {
  custom: {
    50: '#4d586f',
    500: '#021d39',
    950: '#000000',
  },
}
SCSS
$custom: #021d39;
$custom-light: #4d586f;
$custom-dark: #000000;
JSON
{
  "hex": "#021d39",
  "rgb": {
    "r": 2,
    "g": 29,
    "b": 57
  },
  "hsl": {
    "h": 210.545,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22849,
    "c": 0.06357,
    "h": 251.8
  },
  "luminance": 0.01187
}

Semantic roles & 50–950 ramp

primary
#021D39
secondary
#7D4C1A
accent
#9629FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #021D39

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#021D39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva