#021634#021634

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

Color values

HEX#021634
RGBrgb(2, 22, 52)
HSLhsl(216, 93%, 11%)
HSVhsv(216, 96%, 20%)
CMYKcmyk(96.2%, 57.7%, 0%, 79.6%)
CIE-LABlab(7.54, 5.54, -22.15)
CIE-LCHlch(7.54, 22.83, 284.05°)
OKLaboklab(20.45% -0.0147 -0.0638)
OKLCHoklch(20.45% 0.066 257)
XYZxyz(0.9315, 0.8345, 3.3601)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021634 #342002
analogous
#022F34 #021634 #070234
triadic
#021634 #340216 #163402
tetradic
#021634 #34022F #342002 #023407
square
#021634 #34022F #342002 #023407
split-complementary
#021634 #340702 #2F3402
monochromatic
#010C1D #010C1D #021634 #042F6F #0748AA

Accessibility & contrast

On white

17.99
#021634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021634
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021634#FFFFFF#000000##FFFFFF
##0216341.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051935
Deuteranopia (green-blind)
#001433
Tritanopia (blue-blind)
#001D22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021634;
/* rgb */ color: rgb(2, 22, 52);
/* oklch */ color: oklch(20.4% 0.066 257.0);
Tailwind
colors: {
  custom: {
    50: '#4c526c',
    500: '#021634',
    950: '#000000',
  },
}
SCSS
$custom: #021634;
$custom-light: #4c526c;
$custom-dark: #000000;
JSON
{
  "hex": "#021634",
  "rgb": {
    "r": 2,
    "g": 22,
    "b": 52
  },
  "hsl": {
    "h": 216,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2045,
    "c": 0.0655,
    "h": 257
  },
  "luminance": 0.00835
}

Semantic roles & 50–950 ramp

primary
#021634
secondary
#78521A
accent
#A929FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #021634

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

Preview Lab → · Contrast checker → · Palette generator →

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