#021E39#021E39

#021E39 is a very dark, moderate cyan. Relative luminance 0.012; OKLCH L 23.1% C 0.062 H 250.4°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#021E39
RGBrgb(2, 30, 57)
HSLhsl(209, 93%, 12%)
HSVhsv(209, 96%, 22%)
CMYKcmyk(96.5%, 47.4%, 0%, 77.6%)
CIE-LABlab(10.83, 1.68, -20.48)
CIE-LCHlch(10.83, 20.55, 274.70°)
OKLaboklab(23.13% -0.0208 -0.0586)
OKLCHoklch(23.13% 0.062 250.4)
XYZxyz(1.2275, 1.2367, 4.0441)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021E39 #391D02
analogous
#023939 #021E39 #020239
triadic
#021E39 #39021E #1E3902
tetradic
#021E39 #390239 #391D02 #023902
square
#021E39 #390239 #391D02 #023902
split-complementary
#021E39 #390202 #393902
monochromatic
#01101E #01101E #021E39 #043D74 #065CAF

Accessibility & contrast

On white

16.84
#021E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#021E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021E39
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021E39#FFFFFF#000000##FFFFFF
##021E391.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10203A
Deuteranopia (green-blind)
#071B38
Tritanopia (blue-blind)
#002528
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #021e39;
/* rgb */ color: rgb(2, 30, 57);
/* oklch */ color: oklch(23.1% 0.062 250.4);
Tailwind
colors: {
  custom: {
    50: '#4d596f',
    500: '#021e39',
    950: '#000000',
  },
}
SCSS
$custom: #021e39;
$custom-light: #4d596f;
$custom-dark: #000000;
JSON
{
  "hex": "#021e39",
  "rgb": {
    "r": 2,
    "g": 30,
    "b": 57
  },
  "hsl": {
    "h": 209.455,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23134,
    "c": 0.06223,
    "h": 250.4
  },
  "luminance": 0.01237
}

Semantic roles & 50–950 ramp

primary
#021E39
secondary
#7D4B1A
accent
#9229FF
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #021E39

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

Preview Lab → · Contrast checker → · Palette generator →

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