#212E95#212E95

#212E95 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.167 H 269.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#212E95
RGBrgb(33, 46, 149)
HSLhsl(233, 64%, 36%)
HSVhsv(233, 78%, 58%)
CMYKcmyk(77.9%, 69.1%, 0%, 41.6%)
CIE-LABlab(25.10, 32.72, -57.70)
CIE-LCHlch(25.10, 66.33, 299.55°)
OKLaboklab(36.75% -0.0003 -0.167)
OKLCHoklch(36.75% 0.167 269.9)
XYZxyz(7.0272, 4.4465, 28.9158)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E95 #958821
analogous
#216895 #212E95 #4E2195
triadic
#212E95 #95212E #2E9521
tetradic
#212E95 #952168 #958821 #21954E
square
#212E95 #952168 #958821 #21954E
split-complementary
#212E95 #954E21 #689521
monochromatic
#0B0F31 #161F63 #212E95 #2C3DC7 #5765DA

Accessibility & contrast

On white

11.11
#212E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#212E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212E95
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E95#FFFFFF#000000##FFFFFF
##212E951.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #212e95;
/* rgb */ color: rgb(33, 46, 149);
/* oklch */ color: oklch(36.8% 0.167 269.9);
Tailwind
colors: {
  custom: {
    50: '#7067b5',
    500: '#212e95',
    950: '#000000',
  },
}
SCSS
$custom: #212e95;
$custom-light: #7067b5;
$custom-dark: #000000;
JSON
{
  "hex": "#212e95",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 233.276,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36751,
    "c": 0.167,
    "h": 269.9
  },
  "luminance": 0.04447
}

Semantic roles & 50–950 ramp

primary
#212E95
secondary
#BEB254
accent
#D441E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #212E95

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

Preview Lab → · Contrast checker → · Palette generator →

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