#02142A#02142A

#02142A is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 19.0% C 0.052 H 252.9°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#02142A
RGBrgb(2, 20, 42)
HSLhsl(213, 91%, 9%)
HSVhsv(213, 95%, 16%)
CMYKcmyk(95.2%, 52.4%, 0%, 83.5%)
CIE-LABlab(6.15, 1.90, -16.98)
CIE-LCHlch(6.15, 17.09, 276.39°)
OKLaboklab(18.99% -0.0153 -0.0495)
OKLCHoklch(18.99% 0.052 252.9)
XYZxyz(0.6930, 0.6803, 2.2848)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02142A #2A1802
analogous
#02282A #02142A #04022A
triadic
#02142A #2A0214 #142A02
tetradic
#02142A #2A0228 #2A1802 #022A04
square
#02142A #2A0228 #2A1802 #022A04
split-complementary
#02142A #2A0402 #282A02
monochromatic
#010E1D #010E1D #02142A #053064 #084C9F

Accessibility & contrast

On white

18.49
#02142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#02142A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02142A
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02142A#FFFFFF#000000##FFFFFF
##02142A1.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09162B
Deuteranopia (green-blind)
#03122A
Tritanopia (blue-blind)
#00191C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #02142a;
/* rgb */ color: rgb(2, 20, 42);
/* oklch */ color: oklch(19.0% 0.052 252.9);
Tailwind
colors: {
  custom: {
    50: '#485163',
    500: '#02142a',
    950: '#000000',
  },
}
SCSS
$custom: #02142a;
$custom-light: #485163;
$custom-dark: #000000;
JSON
{
  "hex": "#02142a",
  "rgb": {
    "r": 2,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 213,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.1899,
    "c": 0.05177,
    "h": 252.9
  },
  "luminance": 0.0068
}

Semantic roles & 50–950 ramp

primary
#02142A
secondary
#6F4819
accent
#9F29FF
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #02142A

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

Preview Lab → · Contrast checker → · Palette generator →

#02142A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva