#02182E#02182E

#02182E is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.5% C 0.053 H 249.8°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#02182E
RGBrgb(2, 24, 46)
HSLhsl(210, 92%, 9%)
HSVhsv(210, 96%, 18%)
CMYKcmyk(95.7%, 47.8%, 0%, 82%)
CIE-LABlab(7.80, 0.99, -17.34)
CIE-LCHlch(7.80, 17.36, 273.25°)
OKLaboklab(20.51% -0.0182 -0.0496)
OKLCHoklch(20.51% 0.053 249.8)
XYZxyz(0.8446, 0.8633, 2.7064)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02182E #2E1802
analogous
#022E2E #02182E #02022E
triadic
#02182E #2E0218 #182E02
tetradic
#02182E #2E022E #2E1802 #022E02
square
#02182E #2E022E #2E1802 #022E02
split-complementary
#02182E #2E0202 #2E2E02
monochromatic
#010F1D #010F1D #02182E #053769 #0755A3

Accessibility & contrast

On white

17.91
#02182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#02182E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02182E
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02182E#FFFFFF#000000##FFFFFF
##02182E1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192F
Deuteranopia (green-blind)
#06152E
Tritanopia (blue-blind)
#001D20
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #02182e;
/* rgb */ color: rgb(2, 24, 46);
/* oklch */ color: oklch(20.5% 0.053 249.8);
Tailwind
colors: {
  custom: {
    50: '#4a5467',
    500: '#02182e',
    950: '#000000',
  },
}
SCSS
$custom: #02182e;
$custom-light: #4a5467;
$custom-dark: #000000;
JSON
{
  "hex": "#02182e",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 210,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20506,
    "c": 0.05281,
    "h": 249.8
  },
  "luminance": 0.00863
}

Semantic roles & 50–950 ramp

primary
#02182E
secondary
#734619
accent
#9429FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #02182E

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

Preview Lab → · Contrast checker → · Palette generator →

#02182E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva