#02132D#02132D

#02132D is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.0% C 0.058 H 256.6°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#02132D
RGBrgb(2, 19, 45)
HSLhsl(216, 91%, 9%)
HSVhsv(216, 96%, 18%)
CMYKcmyk(95.6%, 57.8%, 0%, 82.4%)
CIE-LABlab(6.03, 3.95, -19.40)
CIE-LCHlch(6.03, 19.80, 281.52°)
OKLaboklab(18.96% -0.0135 -0.0567)
OKLCHoklch(18.96% 0.058 256.6)
XYZxyz(0.7314, 0.6680, 2.5725)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02132D #2D1C02
analogous
#02292D #02132D #07022D
triadic
#02132D #2D0213 #132D02
tetradic
#02132D #2D0229 #2D1C02 #022D07
square
#02132D #2D0229 #2D1C02 #022D07
split-complementary
#02132D #2D0702 #292D02
monochromatic
#010C1D #010C1D #02132D #052C68 #0744A2

Accessibility & contrast

On white

18.53
#02132D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02132D
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02132D#FFFFFF#000000##FFFFFF
##02132D1.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05162E
Deuteranopia (green-blind)
#00112C
Tritanopia (blue-blind)
#00191D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #02132d;
/* rgb */ color: rgb(2, 19, 45);
/* oklch */ color: oklch(19.0% 0.058 256.6);
Tailwind
colors: {
  custom: {
    50: '#495066',
    500: '#02132d',
    950: '#000000',
  },
}
SCSS
$custom: #02132d;
$custom-light: #495066;
$custom-dark: #000000;
JSON
{
  "hex": "#02132d",
  "rgb": {
    "r": 2,
    "g": 19,
    "b": 45
  },
  "hsl": {
    "h": 216.279,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.18964,
    "c": 0.0583,
    "h": 256.6
  },
  "luminance": 0.00668
}

Semantic roles & 50–950 ramp

primary
#02132D
secondary
#724F19
accent
#AA29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #02132D

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

Preview Lab → · Contrast checker → · Palette generator →

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