#02183B#02183B

#02183B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.6% C 0.074 H 258.2°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#02183B
RGBrgb(2, 24, 59)
HSLhsl(217, 93%, 12%)
HSVhsv(217, 97%, 23%)
CMYKcmyk(96.6%, 59.3%, 0%, 76.9%)
CIE-LABlab(8.84, 7.42, -25.10)
CIE-LCHlch(8.84, 26.18, 286.46°)
OKLaboklab(21.65% -0.0151 -0.0724)
OKLCHoklch(21.65% 0.074 258.2)
XYZxyz(1.1408, 0.9818, 4.2662)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02183B #3B2502
analogous
#02353B #02183B #08023B
triadic
#02183B #3B0218 #183B02
tetradic
#02183B #3B0235 #3B2502 #023B08
square
#02183B #3B0235 #3B2502 #023B08
split-complementary
#02183B #3B0802 #353B02
monochromatic
#010C1E #010C1E #02183B #043076 #0648B1

Accessibility & contrast

On white

17.55
#02183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#02183B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02183B
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02183B#FFFFFF#000000##FFFFFF
##02183B1.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #02183b;
/* rgb */ color: rgb(2, 24, 59);
/* oklch */ color: oklch(21.6% 0.074 258.2);
Tailwind
colors: {
  custom: {
    50: '#4e5471',
    500: '#02183b',
    950: '#000000',
  },
}
SCSS
$custom: #02183b;
$custom-light: #4e5471;
$custom-dark: #000000;
JSON
{
  "hex": "#02183b",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 216.842,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21647,
    "c": 0.07397,
    "h": 258.2
  },
  "luminance": 0.00982
}

Semantic roles & 50–950 ramp

primary
#02183B
secondary
#7E581A
accent
#AC29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #02183B

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

Preview Lab → · Contrast checker → · Palette generator →

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