#212554#212554

#212554 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.084 H 276.1°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#212554
RGBrgb(33, 37, 84)
HSLhsl(235, 44%, 23%)
HSVhsv(235, 61%, 33%)
CMYKcmyk(60.7%, 56%, 0%, 67.1%)
CIE-LABlab(16.92, 14.12, -29.29)
CIE-LCHlch(16.92, 32.52, 295.73°)
OKLaboklab(28.93% 0.009 -0.0837)
OKLCHoklch(28.93% 0.084 276.1)
XYZxyz(2.8885, 2.2864, 8.6749)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212554 #545021
analogous
#213E54 #212554 #362154
triadic
#212554 #542125 #255421
tetradic
#212554 #54213E #545021 #215436
square
#212554 #54213E #545021 #215436
split-complementary
#212554 #543621 #3E5421
monochromatic
#090A16 #101228 #212554 #323880 #444CAC

Accessibility & contrast

On white

14.41
#212554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#212554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212554
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212554#FFFFFF#000000##FFFFFF
##2125541.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2C56
Deuteranopia (green-blind)
#042853
Tritanopia (blue-blind)
#063038
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #212554;
/* rgb */ color: rgb(33, 37, 84);
/* oklch */ color: oklch(28.9% 0.084 276.1);
Tailwind
colors: {
  custom: {
    50: '#615f84',
    500: '#212554',
    950: '#000000',
  },
}
SCSS
$custom: #212554;
$custom-light: #615f84;
$custom-dark: #000000;
JSON
{
  "hex": "#212554",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 84
  },
  "hsl": {
    "h": 235.294,
    "s": 43.59,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28931,
    "c": 0.08422,
    "h": 276.1
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

primary
#212554
secondary
#888349
accent
#C954D3
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #212554

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

Preview Lab → · Contrast checker → · Palette generator →

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