#021633#021633

#021633 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.064 H 256.5°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#021633
RGBrgb(2, 22, 51)
HSLhsl(216, 92%, 10%)
HSVhsv(216, 96%, 20%)
CMYKcmyk(96.1%, 56.9%, 0%, 80%)
CIE-LABlab(7.46, 5.03, -21.55)
CIE-LCHlch(7.46, 22.13, 283.15°)
OKLaboklab(20.36% -0.0149 -0.0621)
OKLCHoklch(20.36% 0.064 256.5)
XYZxyz(0.9093, 0.8256, 3.2428)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021633 #331F02
analogous
#022E33 #021633 #060233
triadic
#021633 #330216 #163302
tetradic
#021633 #33022E #331F02 #023306
square
#021633 #33022E #331F02 #023306
split-complementary
#021633 #330602 #2E3302
monochromatic
#010D1D #010D1D #021633 #042F6E #0749A9

Accessibility & contrast

On white

18.02
#021633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#021633 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021633
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021633#FFFFFF#000000##FFFFFF
##0216331.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021633;
/* rgb */ color: rgb(2, 22, 51);
/* oklch */ color: oklch(20.4% 0.064 256.5);
Tailwind
colors: {
  custom: {
    50: '#4b526b',
    500: '#021633',
    950: '#000000',
  },
}
SCSS
$custom: #021633;
$custom-light: #4b526b;
$custom-dark: #000000;
JSON
{
  "hex": "#021633",
  "rgb": {
    "r": 2,
    "g": 22,
    "b": 51
  },
  "hsl": {
    "h": 215.51,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20358,
    "c": 0.06384,
    "h": 256.5
  },
  "luminance": 0.00826
}

Semantic roles & 50–950 ramp

primary
#021633
secondary
#77511A
accent
#A829FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #021633

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

Preview Lab → · Contrast checker → · Palette generator →

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