#02132C#02132C

#02132C is a very dark, muted blue. Relative luminance 0.007; OKLCH L 18.9% C 0.057 H 256.0°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#02132C
RGBrgb(2, 19, 44)
HSLhsl(216, 91%, 9%)
HSVhsv(216, 95%, 17%)
CMYKcmyk(95.5%, 56.8%, 0%, 82.7%)
CIE-LABlab(5.97, 3.47, -18.76)
CIE-LCHlch(5.97, 19.08, 280.48°)
OKLaboklab(18.87% -0.0137 -0.0549)
OKLCHoklch(18.87% 0.057 256)
XYZxyz(0.7124, 0.6604, 2.4723)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02132C #2C1B02
analogous
#02282C #02132C #06022C
triadic
#02132C #2C0213 #132C02
tetradic
#02132C #2C0228 #2C1B02 #022C06
square
#02132C #2C0228 #2C1B02 #022C06
split-complementary
#02132C #2C0602 #282C02
monochromatic
#010D1D #010D1D #02132C #052C67 #0746A1

Accessibility & contrast

On white

18.55
#02132C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02132C
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02132C#FFFFFF#000000##FFFFFF
##02132C1.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02132c;
/* rgb */ color: rgb(2, 19, 44);
/* oklch */ color: oklch(18.9% 0.057 256.0);
Tailwind
colors: {
  custom: {
    50: '#495065',
    500: '#02132c',
    950: '#000000',
  },
}
SCSS
$custom: #02132c;
$custom-light: #495065;
$custom-dark: #000000;
JSON
{
  "hex": "#02132c",
  "rgb": {
    "r": 2,
    "g": 19,
    "b": 44
  },
  "hsl": {
    "h": 215.714,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.18873,
    "c": 0.0566,
    "h": 256
  },
  "luminance": 0.0066
}

Semantic roles & 50–950 ramp

primary
#02132C
secondary
#714D19
accent
#A829FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #02132C

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

Preview Lab → · Contrast checker → · Palette generator →

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