#212337#212337

#212337 is a dark, muted blue. Relative luminance 0.018; OKLCH L 26.4% C 0.037 H 279.1°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#212337
RGBrgb(33, 35, 55)
HSLhsl(235, 25%, 17%)
HSVhsv(235, 40%, 22%)
CMYKcmyk(40%, 36.4%, 0%, 78.4%)
CIE-LABlab(14.41, 5.05, -13.28)
CIE-LCHlch(14.41, 14.20, 290.83°)
OKLaboklab(26.4% 0.0059 -0.037)
OKLCHoklch(26.4% 0.037 279.1)
XYZxyz(1.9176, 1.8012, 3.8603)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212337 #373521
analogous
#212E37 #212337 #2A2137
triadic
#212337 #372123 #233721
tetradic
#212337 #37212E #373521 #21372A
square
#212337 #37212E #373521 #21372A
split-complementary
#212337 #372A21 #2E3721
monochromatic
#0B0C13 #0B0C13 #212337 #383B5D #4F5484

Accessibility & contrast

On white

15.44
#212337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#212337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212337
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212337#FFFFFF#000000##FFFFFF
##2123371.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2538
Deuteranopia (green-blind)
#1C2437
Tritanopia (blue-blind)
#1B272A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #212337;
/* rgb */ color: rgb(33, 35, 55);
/* oklch */ color: oklch(26.4% 0.037 279.1);
Tailwind
colors: {
  custom: {
    50: '#5d5d6e',
    500: '#212337',
    950: '#000000',
  },
}
SCSS
$custom: #212337;
$custom-light: #5d5d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#212337",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 55
  },
  "hsl": {
    "h": 234.545,
    "s": 25,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26401,
    "c": 0.03744,
    "h": 279.1
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#212337
secondary
#6A674A
accent
#B966C1
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040407
muted
#79797A

Preview Lab

Preview with #212337

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

Preview Lab → · Contrast checker → · Palette generator →

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