#021432#021432

#021432 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.065 H 258.1°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#021432
RGBrgb(2, 20, 50)
HSLhsl(218, 92%, 10%)
HSVhsv(218, 96%, 20%)
CMYKcmyk(96%, 60%, 0%, 80.4%)
CIE-LABlab(6.72, 5.90, -22.01)
CIE-LCHlch(6.72, 22.79, 285.01°)
OKLaboklab(19.71% -0.0134 -0.0638)
OKLCHoklch(19.71% 0.065 258.1)
XYZxyz(0.8507, 0.7434, 3.1156)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021432 #322002
analogous
#022C32 #021432 #080232
triadic
#021432 #320214 #143202
tetradic
#021432 #32022C #322002 #023208
square
#021432 #32022C #322002 #023208
split-complementary
#021432 #320802 #2C3202
monochromatic
#010C1D #010C1D #021432 #042C6D #0743A8

Accessibility & contrast

On white

18.28
#021432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021432
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021432#FFFFFF#000000##FFFFFF
##0214321.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031733
Deuteranopia (green-blind)
#001331
Tritanopia (blue-blind)
#001B20
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #021432;
/* rgb */ color: rgb(2, 20, 50);
/* oklch */ color: oklch(19.7% 0.065 258.1);
Tailwind
colors: {
  custom: {
    50: '#4b516a',
    500: '#021432',
    950: '#000000',
  },
}
SCSS
$custom: #021432;
$custom-light: #4b516a;
$custom-dark: #000000;
JSON
{
  "hex": "#021432",
  "rgb": {
    "r": 2,
    "g": 20,
    "b": 50
  },
  "hsl": {
    "h": 217.5,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19711,
    "c": 0.06519,
    "h": 258.1
  },
  "luminance": 0.00744
}

Semantic roles & 50–950 ramp

primary
#021432
secondary
#765419
accent
#AF29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #021432

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

Preview Lab → · Contrast checker → · Palette generator →

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