#212B91#212B91

#212B91 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.165 H 270.6°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#212B91
RGBrgb(33, 43, 145)
HSLhsl(235, 63%, 35%)
HSVhsv(235, 77%, 57%)
CMYKcmyk(77.2%, 70.3%, 0%, 43.1%)
CIE-LABlab(23.98, 33.18, -57.06)
CIE-LCHlch(23.98, 66.01, 300.17°)
OKLaboklab(35.82% 0.0018 -0.1651)
OKLCHoklch(35.82% 0.165 270.6)
XYZxyz(6.6002, 4.0947, 27.2251)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B91 #918721
analogous
#216391 #212B91 #4F2191
triadic
#212B91 #91212B #2B9121
tetradic
#212B91 #912163 #918721 #21914F
square
#212B91 #912163 #918721 #21914F
split-complementary
#212B91 #914F21 #639121
monochromatic
#0A0D2D #161C5F #212B91 #2C3AC3 #5460D8

Accessibility & contrast

On white

11.54
#212B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#212B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B91
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B91#FFFFFF#000000##FFFFFF
##212B911.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #212b91;
/* rgb */ color: rgb(33, 43, 145);
/* oklch */ color: oklch(35.8% 0.165 270.6);
Tailwind
colors: {
  custom: {
    50: '#7065b2',
    500: '#212b91',
    950: '#000000',
  },
}
SCSS
$custom: #212b91;
$custom-light: #7065b2;
$custom-dark: #000000;
JSON
{
  "hex": "#212b91",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 234.643,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35823,
    "c": 0.16516,
    "h": 270.6
  },
  "luminance": 0.04095
}

Semantic roles & 50–950 ramp

primary
#212B91
secondary
#BCB252
accent
#D742E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #212B91

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

Preview Lab → · Contrast checker → · Palette generator →

#212B91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva