#02182B#02182B

#02182B is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.3% C 0.048 H 246.4°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#02182B
RGBrgb(2, 24, 43)
HSLhsl(208, 91%, 9%)
HSVhsv(208, 95%, 17%)
CMYKcmyk(95.3%, 44.2%, 0%, 83.1%)
CIE-LABlab(7.59, -0.47, -15.45)
CIE-LCHlch(7.59, 15.45, 268.27°)
OKLaboklab(20.27% -0.0192 -0.044)
OKLCHoklch(20.27% 0.048 246.4)
XYZxyz(0.7875, 0.8405, 2.4058)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02182B #2B1502
analogous
#022B2A #02182B #02042B
triadic
#02182B #2B0218 #182B02
tetradic
#02182B #2A022B #2B1502 #042B02
square
#02182B #2A022B #2B1502 #042B02
split-complementary
#02182B #2B0204 #2B2A02
monochromatic
#01101D #01101D #02182B #053965 #0759A0

Accessibility & contrast

On white

17.98
#02182B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02182B
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02182B#FFFFFF#000000##FFFFFF
##02182B1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192C
Deuteranopia (green-blind)
#08152B
Tritanopia (blue-blind)
#001D1F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #02182b;
/* rgb */ color: rgb(2, 24, 43);
/* oklch */ color: oklch(20.3% 0.048 246.4);
Tailwind
colors: {
  custom: {
    50: '#495464',
    500: '#02182b',
    950: '#000000',
  },
}
SCSS
$custom: #02182b;
$custom-light: #495464;
$custom-dark: #000000;
JSON
{
  "hex": "#02182b",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 43
  },
  "hsl": {
    "h": 207.805,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20271,
    "c": 0.04806,
    "h": 246.4
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#02182B
secondary
#704119
accent
#8C29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #02182B

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

Preview Lab → · Contrast checker → · Palette generator →

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