#212136#212136

#212136 is a dark, muted blue. Relative luminance 0.017; OKLCH L 25.8% C 0.039 H 283.3°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#212136
RGBrgb(33, 33, 54)
HSLhsl(240, 24%, 17%)
HSVhsv(240, 39%, 21%)
CMYKcmyk(38.9%, 38.9%, 0%, 78.8%)
CIE-LABlab(13.69, 6.19, -13.68)
CIE-LCHlch(13.69, 15.01, 294.33°)
OKLaboklab(25.83% 0.009 -0.0381)
OKLCHoklch(25.83% 0.039 283.3)
XYZxyz(1.8367, 1.6773, 3.7163)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212136 #363621
analogous
#212C36 #212136 #2C2136
triadic
#212136 #362121 #213621
tetradic
#212136 #36212C #363621 #21362C
square
#212136 #36212C #363621 #21362C
split-complementary
#212136 #362C21 #2C3621
monochromatic
#0C0C13 #0C0C13 #212136 #38385C #4F4F82

Accessibility & contrast

On white

15.73
#212136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#212136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212136
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212136#FFFFFF#000000##FFFFFF
##2121361.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2437
Deuteranopia (green-blind)
#1A2235
Tritanopia (blue-blind)
#1C2529
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #212136;
/* rgb */ color: rgb(33, 33, 54);
/* oklch */ color: oklch(25.8% 0.039 283.3);
Tailwind
colors: {
  custom: {
    50: '#5d5c6d',
    500: '#212136',
    950: '#000000',
  },
}
SCSS
$custom: #212136;
$custom-light: #5d5c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#212136",
  "rgb": {
    "r": 33,
    "g": 33,
    "b": 54
  },
  "hsl": {
    "h": 240,
    "s": 24.138,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25833,
    "c": 0.03918,
    "h": 283.3
  },
  "luminance": 0.01677
}

Semantic roles & 50–950 ramp

primary
#212136
secondary
#69694A
accent
#C167C1
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040407
muted
#79797A

Preview Lab

Preview with #212136

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

Preview Lab → · Contrast checker → · Palette generator →

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