#021632#021632

#021632 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.062 H 255.9°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#021632
RGBrgb(2, 22, 50)
HSLhsl(215, 92%, 10%)
HSVhsv(215, 96%, 20%)
CMYKcmyk(96%, 56%, 0%, 80.4%)
CIE-LABlab(7.38, 4.52, -20.94)
CIE-LCHlch(7.38, 21.43, 282.17°)
OKLaboklab(20.27% -0.0152 -0.0603)
OKLCHoklch(20.27% 0.062 255.9)
XYZxyz(0.8875, 0.8169, 3.1279)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021632 #321E02
analogous
#022E32 #021632 #060232
triadic
#021632 #320216 #163202
tetradic
#021632 #32022E #321E02 #023206
square
#021632 #32022E #321E02 #023206
split-complementary
#021632 #320602 #2E3202
monochromatic
#010D1D #010D1D #021632 #04306D #074AA8

Accessibility & contrast

On white

18.05
#021632 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#021632 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021632
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021632#FFFFFF#000000##FFFFFF
##0216321.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071933
Deuteranopia (green-blind)
#001431
Tritanopia (blue-blind)
#001D21
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021632;
/* rgb */ color: rgb(2, 22, 50);
/* oklch */ color: oklch(20.3% 0.062 255.9);
Tailwind
colors: {
  custom: {
    50: '#4b526a',
    500: '#021632',
    950: '#000000',
  },
}
SCSS
$custom: #021632;
$custom-light: #4b526a;
$custom-dark: #000000;
JSON
{
  "hex": "#021632",
  "rgb": {
    "r": 2,
    "g": 22,
    "b": 50
  },
  "hsl": {
    "h": 215,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20268,
    "c": 0.06219,
    "h": 255.9
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#021632
secondary
#765019
accent
#A629FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #021632

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

Preview Lab → · Contrast checker → · Palette generator →

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