#021332#021332

#021332 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.4% C 0.067 H 259.1°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#021332
RGBrgb(2, 19, 50)
HSLhsl(219, 92%, 10%)
HSVhsv(219, 96%, 20%)
CMYKcmyk(96%, 62%, 0%, 80.4%)
CIE-LABlab(6.40, 6.54, -22.51)
CIE-LCHlch(6.40, 23.44, 286.21°)
OKLaboklab(19.44% -0.0126 -0.0655)
OKLCHoklch(19.44% 0.067 259.1)
XYZxyz(0.8334, 0.7088, 3.1099)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021332 #322102
analogous
#022B32 #021332 #090232
triadic
#021332 #320213 #133202
tetradic
#021332 #32022B #322102 #023209
square
#021332 #32022B #322102 #023209
split-complementary
#021332 #320902 #2B3202
monochromatic
#010B1D #010B1D #021332 #04296D #0740A8

Accessibility & contrast

On white

18.39
#021332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#021332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021332
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021332#FFFFFF#000000##FFFFFF
##0213321.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011733
Deuteranopia (green-blind)
#001231
Tritanopia (blue-blind)
#001B20
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #021332;
/* rgb */ color: rgb(2, 19, 50);
/* oklch */ color: oklch(19.4% 0.067 259.1);
Tailwind
colors: {
  custom: {
    50: '#4b506a',
    500: '#021332',
    950: '#000000',
  },
}
SCSS
$custom: #021332;
$custom-light: #4b506a;
$custom-dark: #000000;
JSON
{
  "hex": "#021332",
  "rgb": {
    "r": 2,
    "g": 19,
    "b": 50
  },
  "hsl": {
    "h": 218.75,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19438,
    "c": 0.06671,
    "h": 259.1
  },
  "luminance": 0.00709
}

Semantic roles & 50–950 ramp

primary
#021332
secondary
#765519
accent
#B329FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #021332

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

Preview Lab → · Contrast checker → · Palette generator →

#021332 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva