#02212F#02212F

#02212F is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.3% C 0.045 H 231.9°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#02212F
RGBrgb(2, 33, 47)
HSLhsl(199, 92%, 10%)
HSVhsv(199, 96%, 18%)
CMYKcmyk(95.7%, 29.8%, 0%, 81.6%)
CIE-LABlab(11.32, -5.27, -12.52)
CIE-LCHlch(11.32, 13.58, 247.18°)
OKLaboklab(23.31% -0.0277 -0.0353)
OKLCHoklch(23.31% 0.045 231.9)
XYZxyz(1.0818, 1.3057, 2.8838)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02212F #2F1002
analogous
#022F27 #02212F #020A2F
triadic
#02212F #2F0221 #212F02
tetradic
#02212F #27022F #2F1002 #0A2F02
square
#02212F #27022F #2F1002 #0A2F02
split-complementary
#02212F #2F020A #2F2702
monochromatic
#01151D #01151D #02212F #044A6A #0773A4

Accessibility & contrast

On white

16.65
#02212F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#02212F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02212F
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02212F#FFFFFF#000000##FFFFFF
##02212F1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2130
Deuteranopia (green-blind)
#141C2F
Tritanopia (blue-blind)
#002526
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #02212f;
/* rgb */ color: rgb(2, 33, 47);
/* oklch */ color: oklch(23.3% 0.045 231.9);
Tailwind
colors: {
  custom: {
    50: '#4a5c67',
    500: '#02212f',
    950: '#000000',
  },
}
SCSS
$custom: #02212f;
$custom-light: #4a5c67;
$custom-dark: #000000;
JSON
{
  "hex": "#02212f",
  "rgb": {
    "r": 2,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 198.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.23312,
    "c": 0.04493,
    "h": 231.9
  },
  "luminance": 0.01306
}

Semantic roles & 50–950 ramp

primary
#02212F
secondary
#743519
accent
#6B29FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010406
muted
#77797A

Preview Lab

Preview with #02212F

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

Preview Lab → · Contrast checker → · Palette generator →

#02212F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva