#212D92#212D92

#212D92 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.164 H 270.2°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#212D92
RGBrgb(33, 45, 146)
HSLhsl(234, 63%, 35%)
HSVhsv(234, 77%, 57%)
CMYKcmyk(77.4%, 69.2%, 0%, 42.7%)
CIE-LABlab(24.56, 32.25, -56.73)
CIE-LCHlch(24.56, 65.26, 299.62°)
OKLaboklab(36.27% 0.0006 -0.1642)
OKLCHoklch(36.27% 0.164 270.2)
XYZxyz(6.7521, 4.2747, 27.6578)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212D92 #928621
analogous
#216692 #212D92 #4D2192
triadic
#212D92 #92212D #2D9221
tetradic
#212D92 #922166 #928621 #21924D
square
#212D92 #922166 #928621 #21924D
split-complementary
#212D92 #924D21 #669221
monochromatic
#0A0E2E #161E60 #212D92 #2C3CC4 #5563D9

Accessibility & contrast

On white

11.32
#212D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212D92
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212D92#FFFFFF#000000##FFFFFF
##212D921.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #212d92;
/* rgb */ color: rgb(33, 45, 146);
/* oklch */ color: oklch(36.3% 0.164 270.2);
Tailwind
colors: {
  custom: {
    50: '#7066b3',
    500: '#212d92',
    950: '#000000',
  },
}
SCSS
$custom: #212d92;
$custom-light: #7066b3;
$custom-dark: #000000;
JSON
{
  "hex": "#212d92",
  "rgb": {
    "r": 33,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 233.628,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36272,
    "c": 0.16418,
    "h": 270.2
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#212D92
secondary
#BCB153
accent
#D542E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #212D92

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

Preview Lab → · Contrast checker → · Palette generator →

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