#212E92#212E92

#212E92 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.163 H 270.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#212E92
RGBrgb(33, 46, 146)
HSLhsl(233, 63%, 35%)
HSVhsv(233, 77%, 57%)
CMYKcmyk(77.4%, 68.5%, 0%, 42.7%)
CIE-LABlab(24.80, 31.60, -56.33)
CIE-LCHlch(24.80, 64.59, 299.29°)
OKLaboklab(36.45% 0 -0.163)
OKLCHoklch(36.45% 0.163 270)
XYZxyz(6.7907, 4.3519, 27.6707)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E92 #928521
analogous
#216792 #212E92 #4C2192
triadic
#212E92 #92212E #2E9221
tetradic
#212E92 #922167 #928521 #21924C
square
#212E92 #922167 #928521 #21924C
split-complementary
#212E92 #924C21 #679221
monochromatic
#0A0F2E #161E60 #212E92 #2C3EC4 #5564D9

Accessibility & contrast

On white

11.23
#212E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#212E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212E92
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E92#FFFFFF#000000##FFFFFF
##212E921.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #212e92;
/* rgb */ color: rgb(33, 46, 146);
/* oklch */ color: oklch(36.4% 0.163 270.0);
Tailwind
colors: {
  custom: {
    50: '#7067b3',
    500: '#212e92',
    950: '#000000',
  },
}
SCSS
$custom: #212e92;
$custom-light: #7067b3;
$custom-dark: #000000;
JSON
{
  "hex": "#212e92",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 233.097,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36449,
    "c": 0.16301,
    "h": 270
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #212E92

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

Preview Lab → · Contrast checker → · Palette generator →

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