#212B89#212B89

#212B89 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.154 H 271.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#212B89
RGBrgb(33, 43, 137)
HSLhsl(234, 61%, 33%)
HSVhsv(234, 76%, 54%)
CMYKcmyk(75.9%, 68.6%, 0%, 46.3%)
CIE-LABlab(23.19, 30.21, -53.39)
CIE-LCHlch(23.19, 61.35, 299.50°)
OKLaboklab(35.01% 0.0026 -0.1544)
OKLCHoklch(35.01% 0.154 271)
XYZxyz(6.0049, 3.8566, 24.0900)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B89 #897F21
analogous
#215F89 #212B89 #4B2189
triadic
#212B89 #89212B #2B8921
tetradic
#212B89 #89215F #897F21 #21894B
square
#212B89 #89215F #897F21 #21894B
split-complementary
#212B89 #894B21 #5F8921
monochromatic
#090C26 #151C58 #212B89 #2D3ABA #505CD5

Accessibility & contrast

On white

11.86
#212B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#212B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B89
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B89#FFFFFF#000000##FFFFFF
##212B891.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #212b89;
/* rgb */ color: rgb(33, 43, 137);
/* oklch */ color: oklch(35.0% 0.154 271.0);
Tailwind
colors: {
  custom: {
    50: '#6d64ac',
    500: '#212b89',
    950: '#000000',
  },
}
SCSS
$custom: #212b89;
$custom-light: #6d64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#212b89",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 234.231,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3501,
    "c": 0.15445,
    "h": 271
  },
  "luminance": 0.03857
}

Semantic roles & 50–950 ramp

primary
#212B89
secondary
#B8AE4E
accent
#D544E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #212B89

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

Preview Lab → · Contrast checker → · Palette generator →

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