#212E90#212E90

#212E90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.160 H 270.1°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#212E90
RGBrgb(33, 46, 144)
HSLhsl(233, 63%, 35%)
HSVhsv(233, 77%, 56%)
CMYKcmyk(77.1%, 68.1%, 0%, 43.5%)
CIE-LABlab(24.61, 30.85, -55.42)
CIE-LCHlch(24.61, 63.43, 299.11°)
OKLaboklab(36.25% 0.0002 -0.1603)
OKLCHoklch(36.25% 0.16 270.1)
XYZxyz(6.6365, 4.2902, 26.8585)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E90 #908321
analogous
#216690 #212E90 #4C2190
triadic
#212E90 #90212E #2E9021
tetradic
#212E90 #902166 #908321 #21904C
square
#212E90 #902166 #908321 #21904C
split-complementary
#212E90 #904C21 #669021
monochromatic
#0A0E2C #161E5E #212E90 #2C3EC2 #5463D8

Accessibility & contrast

On white

11.30
#212E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#212E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212E90
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E90#FFFFFF#000000##FFFFFF
##212E901.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #212e90;
/* rgb */ color: rgb(33, 46, 144);
/* oklch */ color: oklch(36.2% 0.160 270.1);
Tailwind
colors: {
  custom: {
    50: '#6f67b1',
    500: '#212e90',
    950: '#000000',
  },
}
SCSS
$custom: #212e90;
$custom-light: #6f67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#212e90",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 232.973,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36248,
    "c": 0.16033,
    "h": 270.1
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#212E90
secondary
#BBAF51
accent
#D342E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #212E90

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

Preview Lab → · Contrast checker → · Palette generator →

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