#212C90#212C90

#212C90 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.163 H 270.5°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#212C90
RGBrgb(33, 44, 144)
HSLhsl(234, 63%, 35%)
HSVhsv(234, 77%, 56%)
CMYKcmyk(77.1%, 69.4%, 0%, 43.5%)
CIE-LABlab(24.12, 32.16, -56.22)
CIE-LCHlch(24.12, 64.77, 299.77°)
OKLaboklab(35.89% 0.0013 -0.1627)
OKLCHoklch(35.89% 0.163 270.5)
XYZxyz(6.5602, 4.1376, 26.8330)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212C90 #908521
analogous
#216490 #212C90 #4E2190
triadic
#212C90 #90212C #2C9021
tetradic
#212C90 #902164 #908521 #21904E
square
#212C90 #902164 #908521 #21904E
split-complementary
#212C90 #904E21 #649021
monochromatic
#0A0E2C #161D5E #212C90 #2C3BC2 #5461D8

Accessibility & contrast

On white

11.49
#212C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#212C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212C90
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212C90#FFFFFF#000000##FFFFFF
##212C901.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212c90;
/* rgb */ color: rgb(33, 44, 144);
/* oklch */ color: oklch(35.9% 0.163 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f65b2',
    500: '#212c90',
    950: '#000000',
  },
}
SCSS
$custom: #212c90;
$custom-light: #6f65b2;
$custom-dark: #000000;
JSON
{
  "hex": "#212c90",
  "rgb": {
    "r": 33,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 234.054,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35894,
    "c": 0.16269,
    "h": 270.5
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#212C90
secondary
#BBB151
accent
#D642E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #212C90

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

Preview Lab → · Contrast checker → · Palette generator →

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