#02132F#02132F

#02132F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.1% C 0.062 H 257.7°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#02132F
RGBrgb(2, 19, 47)
HSLhsl(217, 92%, 10%)
HSVhsv(217, 96%, 18%)
CMYKcmyk(95.7%, 59.6%, 0%, 81.6%)
CIE-LABlab(6.18, 4.95, -20.66)
CIE-LCHlch(6.18, 21.24, 283.48°)
OKLaboklab(19.15% -0.0131 -0.0603)
OKLCHoklch(19.15% 0.062 257.7)
XYZxyz(0.7708, 0.6838, 2.7801)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02132F #2F1E02
analogous
#022A2F #02132F #07022F
triadic
#02132F #2F0213 #132F02
tetradic
#02132F #2F022A #2F1E02 #022F07
square
#02132F #2F022A #2F1E02 #022F07
split-complementary
#02132F #2F0702 #2A2F02
monochromatic
#010C1D #010C1D #02132F #042B6A #0742A4

Accessibility & contrast

On white

18.47
#02132F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#02132F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02132F
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02132F#FFFFFF#000000##FFFFFF
##02132F1.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041630
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#001A1E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #02132f;
/* rgb */ color: rgb(2, 19, 47);
/* oklch */ color: oklch(19.1% 0.062 257.7);
Tailwind
colors: {
  custom: {
    50: '#4a5068',
    500: '#02132f',
    950: '#000000',
  },
}
SCSS
$custom: #02132f;
$custom-light: #4a5068;
$custom-dark: #000000;
JSON
{
  "hex": "#02132f",
  "rgb": {
    "r": 2,
    "g": 19,
    "b": 47
  },
  "hsl": {
    "h": 217.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.1915,
    "c": 0.06168,
    "h": 257.7
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#02132F
secondary
#745119
accent
#AE29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #02132F

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

Preview Lab → · Contrast checker → · Palette generator →

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