#021A31#021A31

#021A31 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.3% C 0.055 H 249.4°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#021A31
RGBrgb(2, 26, 49)
HSLhsl(209, 92%, 10%)
HSVhsv(209, 96%, 19%)
CMYKcmyk(95.9%, 46.9%, 0%, 80.8%)
CIE-LABlab(8.77, 0.90, -17.99)
CIE-LCHlch(8.77, 18.01, 272.85°)
OKLaboklab(21.34% -0.0193 -0.0514)
OKLCHoklch(21.34% 0.055 249.4)
XYZxyz(0.9486, 0.9733, 3.0430)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A31 #311902
analogous
#023131 #021A31 #020231
triadic
#021A31 #31021A #1A3102
tetradic
#021A31 #310231 #311902 #023102
square
#021A31 #310231 #311902 #023102
split-complementary
#021A31 #310202 #313102
monochromatic
#01101D #01101D #021A31 #04396C #0758A7

Accessibility & contrast

On white

17.58
#021A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#021A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021A31
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A31#FFFFFF#000000##FFFFFF
##021A311.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1B32
Deuteranopia (green-blind)
#071731
Tritanopia (blue-blind)
#002023
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021a31;
/* rgb */ color: rgb(2, 26, 49);
/* oklch */ color: oklch(21.3% 0.055 249.4);
Tailwind
colors: {
  custom: {
    50: '#4a5669',
    500: '#021a31',
    950: '#000000',
  },
}
SCSS
$custom: #021a31;
$custom-light: #4a5669;
$custom-dark: #000000;
JSON
{
  "hex": "#021a31",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 49
  },
  "hsl": {
    "h": 209.362,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.21337,
    "c": 0.05494,
    "h": 249.4
  },
  "luminance": 0.00973
}

Semantic roles & 50–950 ramp

primary
#021A31
secondary
#754619
accent
#9229FF
background
#F4F4F6
surface
#E7E8EB
border
#C3C4C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021A31

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

Preview Lab → · Contrast checker → · Palette generator →

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