#021636#021636

#021636 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.6% C 0.069 H 258.0°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#021636
RGBrgb(2, 22, 54)
HSLhsl(217, 93%, 11%)
HSVhsv(217, 96%, 21%)
CMYKcmyk(96.3%, 59.3%, 0%, 78.8%)
CIE-LABlab(7.70, 6.56, -23.34)
CIE-LCHlch(7.70, 24.24, 285.71°)
OKLaboklab(20.64% -0.0143 -0.0673)
OKLCHoklch(20.64% 0.069 258)
XYZxyz(0.9776, 0.8529, 3.6024)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021636 #362202
analogous
#023036 #021636 #080236
triadic
#021636 #360216 #163602
tetradic
#021636 #360230 #362202 #023608
square
#021636 #360230 #362202 #023608
split-complementary
#021636 #360802 #303602
monochromatic
#010C1E #010C1E #021636 #042E71 #0646AC

Accessibility & contrast

On white

17.94
#021636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021636
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021636#FFFFFF#000000##FFFFFF
##0216361.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A37
Deuteranopia (green-blind)
#001535
Tritanopia (blue-blind)
#001E23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021636;
/* rgb */ color: rgb(2, 22, 54);
/* oklch */ color: oklch(20.6% 0.069 258.0);
Tailwind
colors: {
  custom: {
    50: '#4c526d',
    500: '#021636',
    950: '#000000',
  },
}
SCSS
$custom: #021636;
$custom-light: #4c526d;
$custom-dark: #000000;
JSON
{
  "hex": "#021636",
  "rgb": {
    "r": 2,
    "g": 22,
    "b": 54
  },
  "hsl": {
    "h": 216.923,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20636,
    "c": 0.06879,
    "h": 258
  },
  "luminance": 0.00853
}

Semantic roles & 50–950 ramp

primary
#021636
secondary
#7A551A
accent
#AD29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #021636

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

Preview Lab → · Contrast checker → · Palette generator →

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