#212EBC#212EBC

#212EBC is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.216 H 268.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#212EBC
RGBrgb(33, 46, 188)
HSLhsl(235, 70%, 43%)
HSVhsv(235, 82%, 74%)
CMYKcmyk(82.4%, 75.5%, 0%, 26.3%)
CIE-LABlab(29.18, 46.54, -74.48)
CIE-LCHlch(29.18, 87.82, 302.00°)
OKLaboklab(40.89% -0.0051 -0.2158)
OKLCHoklch(40.89% 0.216 268.6)
XYZxyz(10.6782, 5.9069, 48.1446)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212EBC #BCAF21
analogous
#217BBC #212EBC #6121BC
triadic
#212EBC #BC212E #2EBC21
tetradic
#212EBC #BC217B #BCAF21 #21BC61
square
#212EBC #BC217B #BCAF21 #21BC61
split-complementary
#212EBC #BC6121 #7BBC21
monochromatic
#0F1554 #182188 #212EBC #3D4BDD #717BE6

Accessibility & contrast

On white

9.63
#212EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#212EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212EBC
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212EBC#FFFFFF#000000##FFFFFF
##212EBC1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #212ebc;
/* rgb */ color: rgb(33, 46, 188);
/* oklch */ color: oklch(40.9% 0.216 268.6);
Tailwind
colors: {
  custom: {
    50: '#7a68d2',
    500: '#212ebc',
    950: '#000000',
  },
}
SCSS
$custom: #212ebc;
$custom-light: #7a68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#212ebc",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 234.968,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40895,
    "c": 0.21588,
    "h": 268.6
  },
  "luminance": 0.05908
}

Semantic roles & 50–950 ramp

primary
#212EBC
secondary
#CDC56C
accent
#DE3BED
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #212EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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