#212D90#212D90

#212D90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.162 H 270.3°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#212D90
RGBrgb(33, 45, 144)
HSLhsl(234, 63%, 35%)
HSVhsv(234, 77%, 56%)
CMYKcmyk(77.1%, 68.7%, 0%, 43.5%)
CIE-LABlab(24.36, 31.51, -55.82)
CIE-LCHlch(24.36, 64.10, 299.45°)
OKLaboklab(36.07% 0.0008 -0.1615)
OKLCHoklch(36.07% 0.162 270.3)
XYZxyz(6.5979, 4.2130, 26.8456)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212D90 #908421
analogous
#216490 #212D90 #4D2190
triadic
#212D90 #90212D #2D9021
tetradic
#212D90 #902164 #908421 #21904D
square
#212D90 #902164 #908421 #21904D
split-complementary
#212D90 #904D21 #649021
monochromatic
#0A0E2C #161D5E #212D90 #2C3DC2 #5462D8

Accessibility & contrast

On white

11.40
#212D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#212D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212D90
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212D90#FFFFFF#000000##FFFFFF
##212D901.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #212d90;
/* rgb */ color: rgb(33, 45, 144);
/* oklch */ color: oklch(36.1% 0.162 270.3);
Tailwind
colors: {
  custom: {
    50: '#6f66b2',
    500: '#212d90',
    950: '#000000',
  },
}
SCSS
$custom: #212d90;
$custom-light: #6f66b2;
$custom-dark: #000000;
JSON
{
  "hex": "#212d90",
  "rgb": {
    "r": 33,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 233.514,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3607,
    "c": 0.16151,
    "h": 270.3
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

primary
#212D90
secondary
#BBB051
accent
#D442E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #212D90

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

Preview Lab → · Contrast checker → · Palette generator →

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