#021533#021533

#021533 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.1% C 0.065 H 257.6°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#021533
RGBrgb(2, 21, 51)
HSLhsl(217, 92%, 10%)
HSVhsv(217, 96%, 20%)
CMYKcmyk(96.1%, 58.8%, 0%, 80%)
CIE-LABlab(7.12, 5.76, -22.09)
CIE-LCHlch(7.12, 22.83, 284.60°)
OKLaboklab(20.08% -0.0141 -0.0638)
OKLCHoklch(20.08% 0.065 257.6)
XYZxyz(0.8905, 0.7881, 3.2365)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021533 #332002
analogous
#022D33 #021533 #080233
triadic
#021533 #330215 #153302
tetradic
#021533 #33022D #332002 #023308
square
#021533 #33022D #332002 #023308
split-complementary
#021533 #330802 #2D3302
monochromatic
#010C1D #010C1D #021533 #042D6E #0745A9

Accessibility & contrast

On white

18.14
#021533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021533
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021533#FFFFFF#000000##FFFFFF
##0215331.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041834
Deuteranopia (green-blind)
#001432
Tritanopia (blue-blind)
#001C21
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021533;
/* rgb */ color: rgb(2, 21, 51);
/* oklch */ color: oklch(20.1% 0.065 257.6);
Tailwind
colors: {
  custom: {
    50: '#4b516b',
    500: '#021533',
    950: '#000000',
  },
}
SCSS
$custom: #021533;
$custom-light: #4b516b;
$custom-dark: #000000;
JSON
{
  "hex": "#021533",
  "rgb": {
    "r": 2,
    "g": 21,
    "b": 51
  },
  "hsl": {
    "h": 216.735,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20081,
    "c": 0.06534,
    "h": 257.6
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#021533
secondary
#77531A
accent
#AC29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #021533

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

Preview Lab → · Contrast checker → · Palette generator →

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