#212E93#212E93

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

Color values

HEX#212E93
RGBrgb(33, 46, 147)
HSLhsl(233, 63%, 35%)
HSVhsv(233, 78%, 58%)
CMYKcmyk(77.6%, 68.7%, 0%, 42.4%)
CIE-LABlab(24.90, 31.97, -56.79)
CIE-LCHlch(24.90, 65.17, 299.38°)
OKLaboklab(36.55% -0.0001 -0.1643)
OKLCHoklch(36.55% 0.164 270)
XYZxyz(6.8689, 4.3832, 28.0821)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E93 #938621
analogous
#216793 #212E93 #4D2193
triadic
#212E93 #93212E #2E9321
tetradic
#212E93 #932167 #938621 #21934D
square
#212E93 #932167 #938621 #21934D
split-complementary
#212E93 #934D21 #679321
monochromatic
#0B0F2F #161E61 #212E93 #2C3EC5 #5564D9

Accessibility & contrast

On white

11.19
#212E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#212E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212E93
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E93#FFFFFF#000000##FFFFFF
##212E931.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212e93;
/* rgb */ color: rgb(33, 46, 147);
/* oklch */ color: oklch(36.5% 0.164 270.0);
Tailwind
colors: {
  custom: {
    50: '#7067b4',
    500: '#212e93',
    950: '#000000',
  },
}
SCSS
$custom: #212e93;
$custom-light: #7067b4;
$custom-dark: #000000;
JSON
{
  "hex": "#212e93",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 233.158,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36549,
    "c": 0.16435,
    "h": 270
  },
  "luminance": 0.04384
}

Semantic roles & 50–950 ramp

primary
#212E93
secondary
#BDB153
accent
#D441E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #212E93

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

Preview Lab → · Contrast checker → · Palette generator →

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