#021436#021436

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

Color values

HEX#021436
RGBrgb(2, 20, 54)
HSLhsl(219, 93%, 11%)
HSVhsv(219, 96%, 21%)
CMYKcmyk(96.3%, 63%, 0%, 78.8%)
CIE-LABlab(7.04, 8.04, -24.41)
CIE-LCHlch(7.04, 25.70, 288.24°)
OKLaboklab(20.1% -0.0127 -0.0707)
OKLCHoklch(20.1% 0.072 259.8)
XYZxyz(0.9408, 0.7794, 3.5902)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021436 #362402
analogous
#022E36 #021436 #0A0236
triadic
#021436 #360214 #143602
tetradic
#021436 #36022E #362402 #02360A
square
#021436 #36022E #362402 #02360A
split-complementary
#021436 #360A02 #2E3602
monochromatic
#010B1E #010B1E #021436 #042A71 #0640AC

Accessibility & contrast

On white

18.17
#021436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021436
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021436#FFFFFF#000000##FFFFFF
##0214361.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#001335
Tritanopia (blue-blind)
#001C22
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021436;
/* rgb */ color: rgb(2, 20, 54);
/* oklch */ color: oklch(20.1% 0.072 259.8);
Tailwind
colors: {
  custom: {
    50: '#4c506d',
    500: '#021436',
    950: '#000000',
  },
}
SCSS
$custom: #021436;
$custom-light: #4c506d;
$custom-dark: #000000;
JSON
{
  "hex": "#021436",
  "rgb": {
    "r": 2,
    "g": 20,
    "b": 54
  },
  "hsl": {
    "h": 219.231,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.201,
    "c": 0.07182,
    "h": 259.8
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#021436
secondary
#7A591A
accent
#B529FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010207
muted
#77787A

Preview Lab

Preview with #021436

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

Preview Lab → · Contrast checker → · Palette generator →

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