#021635#021635

#021635 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.067 H 257.5°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#021635
RGBrgb(2, 22, 53)
HSLhsl(216, 93%, 11%)
HSVhsv(216, 96%, 21%)
CMYKcmyk(96.2%, 58.5%, 0%, 79.2%)
CIE-LABlab(7.62, 6.06, -22.75)
CIE-LCHlch(7.62, 23.54, 284.91°)
OKLaboklab(20.54% -0.0145 -0.0656)
OKLCHoklch(20.54% 0.067 257.5)
XYZxyz(0.9543, 0.8436, 3.4800)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021635 #352102
analogous
#022F35 #021635 #080235
triadic
#021635 #350216 #163502
tetradic
#021635 #35022F #352102 #023508
square
#021635 #35022F #352102 #023508
split-complementary
#021635 #350802 #2F3502
monochromatic
#010C1D #010C1D #021635 #042E70 #0647AB

Accessibility & contrast

On white

17.97
#021635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021635
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021635#FFFFFF#000000##FFFFFF
##0216351.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041936
Deuteranopia (green-blind)
#001534
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021635;
/* rgb */ color: rgb(2, 22, 53);
/* oklch */ color: oklch(20.5% 0.067 257.5);
Tailwind
colors: {
  custom: {
    50: '#4c526c',
    500: '#021635',
    950: '#000000',
  },
}
SCSS
$custom: #021635;
$custom-light: #4c526c;
$custom-dark: #000000;
JSON
{
  "hex": "#021635",
  "rgb": {
    "r": 2,
    "g": 22,
    "b": 53
  },
  "hsl": {
    "h": 216.471,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20543,
    "c": 0.06715,
    "h": 257.5
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#021635
secondary
#79541A
accent
#AB29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #021635

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

Preview Lab → · Contrast checker → · Palette generator →

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