#212944#212944

#212944 is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.7% C 0.051 H 270.4°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#212944
RGBrgb(33, 41, 68)
HSLhsl(226, 35%, 20%)
HSVhsv(226, 51%, 27%)
CMYKcmyk(51.5%, 39.7%, 0%, 73.3%)
CIE-LABlab(17.11, 5.23, -18.10)
CIE-LCHlch(17.11, 18.84, 286.11°)
OKLaboklab(28.73% 0.0004 -0.0509)
OKLCHoklch(28.73% 0.051 270.4)
XYZxyz(2.4632, 2.3264, 5.7870)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212944 #443C21
analogous
#213A44 #212944 #2B2144
triadic
#212944 #442129 #294421
tetradic
#212944 #44213A #443C21 #21442B
square
#212944 #44213A #443C21 #21442B
split-complementary
#212944 #442B21 #3A4421
monochromatic
#0A0C15 #0D101B #212944 #35426D #495B96

Accessibility & contrast

On white

14.33
#212944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#212944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212944
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212944#FFFFFF#000000##FFFFFF
##2129441.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2C45
Deuteranopia (green-blind)
#1C2943
Tritanopia (blue-blind)
#142F33
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #212944;
/* rgb */ color: rgb(33, 41, 68);
/* oklch */ color: oklch(28.7% 0.051 270.4);
Tailwind
colors: {
  custom: {
    50: '#5e6278',
    500: '#212944',
    950: '#000000',
  },
}
SCSS
$custom: #212944;
$custom-light: #5e6278;
$custom-dark: #000000;
JSON
{
  "hex": "#212944",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 68
  },
  "hsl": {
    "h": 226.286,
    "s": 34.653,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28732,
    "c": 0.05092,
    "h": 270.4
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#212944
secondary
#786D49
accent
#B25DCB
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040509
muted
#79797B

Preview Lab

Preview with #212944

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

Preview Lab → · Contrast checker → · Palette generator →

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