#02132B#02132B

#02132B is a very dark, muted blue. Relative luminance 0.007; OKLCH L 18.8% C 0.055 H 255.3°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#02132B
RGBrgb(2, 19, 43)
HSLhsl(215, 91%, 9%)
HSVhsv(215, 95%, 17%)
CMYKcmyk(95.3%, 55.8%, 0%, 83.1%)
CIE-LABlab(5.90, 3.00, -18.12)
CIE-LCHlch(5.90, 18.37, 279.39°)
OKLaboklab(18.78% -0.014 -0.0531)
OKLCHoklch(18.78% 0.055 255.3)
XYZxyz(0.6938, 0.6530, 2.3745)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02132B #2B1A02
analogous
#02282B #02132B #06022B
triadic
#02132B #2B0213 #132B02
tetradic
#02132B #2B0228 #2B1A02 #022B06
square
#02132B #2B0228 #2B1A02 #022B06
split-complementary
#02132B #2B0602 #282B02
monochromatic
#010D1D #010D1D #02132B #052D65 #0747A0

Accessibility & contrast

On white

18.57
#02132B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#02132B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02132B
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02132B#FFFFFF#000000##FFFFFF
##02132B1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07152C
Deuteranopia (green-blind)
#01112B
Tritanopia (blue-blind)
#00191C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #02132b;
/* rgb */ color: rgb(2, 19, 43);
/* oklch */ color: oklch(18.8% 0.055 255.3);
Tailwind
colors: {
  custom: {
    50: '#495064',
    500: '#02132b',
    950: '#000000',
  },
}
SCSS
$custom: #02132b;
$custom-light: #495064;
$custom-dark: #000000;
JSON
{
  "hex": "#02132b",
  "rgb": {
    "r": 2,
    "g": 19,
    "b": 43
  },
  "hsl": {
    "h": 215.122,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18784,
    "c": 0.05491,
    "h": 255.3
  },
  "luminance": 0.00653
}

Semantic roles & 50–950 ramp

primary
#02132B
secondary
#704C19
accent
#A629FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #02132B

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

Preview Lab → · Contrast checker → · Palette generator →

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