#212E86#212E86

#212E86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.147 H 270.3°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#212E86
RGBrgb(33, 46, 134)
HSLhsl(232, 60%, 33%)
HSVhsv(232, 75%, 53%)
CMYKcmyk(75.4%, 65.7%, 0%, 47.5%)
CIE-LABlab(23.66, 27.07, -50.74)
CIE-LCHlch(23.66, 57.51, 298.08°)
OKLaboklab(35.27% 0.0008 -0.1466)
OKLCHoklch(35.27% 0.147 270.3)
XYZxyz(5.9058, 3.9979, 23.0101)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E86 #867921
analogous
#216186 #212E86 #462186
triadic
#212E86 #86212E #2E8621
tetradic
#212E86 #862161 #867921 #218646
square
#212E86 #862161 #867921 #218646
split-complementary
#212E86 #864621 #618621
monochromatic
#090C24 #151D55 #212E86 #2D3FB7 #4E5FD3

Accessibility & contrast

On white

11.67
#212E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#212E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212E86
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E86#FFFFFF#000000##FFFFFF
##212E861.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #212e86;
/* rgb */ color: rgb(33, 46, 134);
/* oklch */ color: oklch(35.3% 0.147 270.3);
Tailwind
colors: {
  custom: {
    50: '#6c66aa',
    500: '#212e86',
    950: '#000000',
  },
}
SCSS
$custom: #212e86;
$custom-light: #6c66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#212e86",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 232.277,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35268,
    "c": 0.14665,
    "h": 270.3
  },
  "luminance": 0.03999
}

Semantic roles & 50–950 ramp

primary
#212E86
secondary
#B7A94C
accent
#CF44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #212E86

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

Preview Lab → · Contrast checker → · Palette generator →

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