#021939#021939

#021939 is a very dark, moderate cyan. Relative luminance 0.010; OKLCH L 21.7% C 0.069 H 256.4°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#021939
RGBrgb(2, 25, 57)
HSLhsl(215, 93%, 12%)
HSVhsv(215, 96%, 22%)
CMYKcmyk(96.5%, 56.1%, 0%, 77.6%)
CIE-LABlab(9.02, 5.63, -23.38)
CIE-LCHlch(9.02, 24.04, 283.53°)
OKLaboklab(21.73% -0.0163 -0.0673)
OKLCHoklch(21.73% 0.069 256.4)
XYZxyz(1.1109, 1.0034, 4.0052)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021939 #392202
analogous
#023539 #021939 #070239
triadic
#021939 #390219 #193902
tetradic
#021939 #390235 #392202 #023907
square
#021939 #390235 #392202 #023907
split-complementary
#021939 #390702 #353902
monochromatic
#010D1E #010D1E #021939 #043374 #064DAF

Accessibility & contrast

On white

17.49
#021939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#021939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021939
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021939#FFFFFF#000000##FFFFFF
##0219391.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061C3A
Deuteranopia (green-blind)
#001738
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021939;
/* rgb */ color: rgb(2, 25, 57);
/* oklch */ color: oklch(21.7% 0.069 256.4);
Tailwind
colors: {
  custom: {
    50: '#4d5570',
    500: '#021939',
    950: '#000000',
  },
}
SCSS
$custom: #021939;
$custom-light: #4d5570;
$custom-dark: #000000;
JSON
{
  "hex": "#021939",
  "rgb": {
    "r": 2,
    "g": 25,
    "b": 57
  },
  "hsl": {
    "h": 214.909,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21732,
    "c": 0.06924,
    "h": 256.4
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#021939
secondary
#7D531A
accent
#A529FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #021939

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

Preview Lab → · Contrast checker → · Palette generator →

#021939 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva