#021433#021433

#021433 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 19.8% C 0.067 H 258.6°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#021433
RGBrgb(2, 20, 51)
HSLhsl(218, 92%, 10%)
HSVhsv(218, 96%, 20%)
CMYKcmyk(96.1%, 60.8%, 0%, 80%)
CIE-LABlab(6.79, 6.44, -22.62)
CIE-LCHlch(6.79, 23.52, 285.90°)
OKLaboklab(19.81% -0.0132 -0.0655)
OKLCHoklch(19.81% 0.067 258.6)
XYZxyz(0.8725, 0.7521, 3.2305)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021433 #332102
analogous
#022C33 #021433 #080233
triadic
#021433 #330214 #143302
tetradic
#021433 #33022C #332102 #023308
square
#021433 #33022C #332102 #023308
split-complementary
#021433 #330802 #2C3302
monochromatic
#010C1D #010C1D #021433 #042B6E #0742A9

Accessibility & contrast

On white

18.25
#021433 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#021433 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021433
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021433#FFFFFF#000000##FFFFFF
##0214331.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021834
Deuteranopia (green-blind)
#001332
Tritanopia (blue-blind)
#001C21
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #021433;
/* rgb */ color: rgb(2, 20, 51);
/* oklch */ color: oklch(19.8% 0.067 258.6);
Tailwind
colors: {
  custom: {
    50: '#4b516b',
    500: '#021433',
    950: '#000000',
  },
}
SCSS
$custom: #021433;
$custom-light: #4b516b;
$custom-dark: #000000;
JSON
{
  "hex": "#021433",
  "rgb": {
    "r": 2,
    "g": 20,
    "b": 51
  },
  "hsl": {
    "h": 217.959,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19807,
    "c": 0.06686,
    "h": 258.6
  },
  "luminance": 0.00752
}

Semantic roles & 50–950 ramp

primary
#021433
secondary
#77551A
accent
#B029FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #021433

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

Preview Lab → · Contrast checker → · Palette generator →

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