#02183A#02183A

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

Color values

HEX#02183A
RGBrgb(2, 24, 58)
HSLhsl(216, 93%, 12%)
HSVhsv(216, 97%, 23%)
CMYKcmyk(96.6%, 58.6%, 0%, 77.3%)
CIE-LABlab(8.75, 6.92, -24.53)
CIE-LCHlch(8.75, 25.49, 285.77°)
OKLaboklab(21.55% -0.0153 -0.0707)
OKLCHoklch(21.55% 0.072 257.8)
XYZxyz(1.1151, 0.9715, 4.1309)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02183A #3A2402
analogous
#02343A #02183A #08023A
triadic
#02183A #3A0218 #183A02
tetradic
#02183A #3A0234 #3A2402 #023A08
square
#02183A #3A0234 #3A2402 #023A08
split-complementary
#02183A #3A0802 #343A02
monochromatic
#010C1E #010C1E #02183A #043075 #0649B0

Accessibility & contrast

On white

17.58
#02183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#02183A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02183A
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02183A#FFFFFF#000000##FFFFFF
##02183A1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #02183a;
/* rgb */ color: rgb(2, 24, 58);
/* oklch */ color: oklch(21.6% 0.072 257.8);
Tailwind
colors: {
  custom: {
    50: '#4e5470',
    500: '#02183a',
    950: '#000000',
  },
}
SCSS
$custom: #02183a;
$custom-light: #4e5470;
$custom-dark: #000000;
JSON
{
  "hex": "#02183a",
  "rgb": {
    "r": 2,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 216.429,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21553,
    "c": 0.07235,
    "h": 257.8
  },
  "luminance": 0.00972
}

Semantic roles & 50–950 ramp

primary
#02183A
secondary
#7D571A
accent
#AB29FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #02183A

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

Preview Lab → · Contrast checker → · Palette generator →

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