#212E88#212E88

#212E88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.149 H 270.3°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#212E88
RGBrgb(33, 46, 136)
HSLhsl(232, 61%, 33%)
HSVhsv(232, 76%, 53%)
CMYKcmyk(75.7%, 66.2%, 0%, 46.7%)
CIE-LABlab(23.85, 27.83, -51.69)
CIE-LCHlch(23.85, 58.70, 298.30°)
OKLaboklab(35.46% 0.0007 -0.1494)
OKLCHoklch(35.46% 0.149 270.3)
XYZxyz(6.0466, 4.0543, 23.7517)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E88 #887B21
analogous
#216188 #212E88 #472188
triadic
#212E88 #88212E #2E8821
tetradic
#212E88 #882161 #887B21 #218847
square
#212E88 #882161 #887B21 #218847
split-complementary
#212E88 #884721 #618821
monochromatic
#090D25 #151D57 #212E88 #2D3FB9 #4F60D4

Accessibility & contrast

On white

11.60
#212E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#212E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212E88
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E88#FFFFFF#000000##FFFFFF
##212E881.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #212e88;
/* rgb */ color: rgb(33, 46, 136);
/* oklch */ color: oklch(35.5% 0.149 270.3);
Tailwind
colors: {
  custom: {
    50: '#6d66ac',
    500: '#212e88',
    950: '#000000',
  },
}
SCSS
$custom: #212e88;
$custom-light: #6d66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#212e88",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 232.427,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35462,
    "c": 0.14942,
    "h": 270.3
  },
  "luminance": 0.04055
}

Semantic roles & 50–950 ramp

primary
#212E88
secondary
#B8AA4D
accent
#D044E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #212E88

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

Preview Lab → · Contrast checker → · Palette generator →

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