#212EA0#212EA0

#212EA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.181 H 269.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#212EA0
RGBrgb(33, 46, 160)
HSLhsl(234, 66%, 38%)
HSVhsv(234, 79%, 63%)
CMYKcmyk(79.4%, 71.2%, 0%, 37.3%)
CIE-LABlab(26.20, 36.74, -62.61)
CIE-LCHlch(26.20, 72.60, 300.41°)
OKLaboklab(37.88% -0.0014 -0.1813)
OKLCHoklch(37.88% 0.181 269.6)
XYZxyz(7.9472, 4.8145, 33.7613)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212EA0 #A09321
analogous
#216EA0 #212EA0 #5321A0
triadic
#212EA0 #A0212E #2EA021
tetradic
#212EA0 #A0216E #A09321 #21A053
square
#212EA0 #A0216E #A09321 #21A053
split-complementary
#212EA0 #A05321 #6EA021
monochromatic
#0C113B #171F6D #212EA0 #2B3DD3 #5E6BDE

Accessibility & contrast

On white

10.70
#212EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#212EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212EA0
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212EA0#FFFFFF#000000##FFFFFF
##212EA01.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #212ea0;
/* rgb */ color: rgb(33, 46, 160);
/* oklch */ color: oklch(37.9% 0.181 269.6);
Tailwind
colors: {
  custom: {
    50: '#7367bd',
    500: '#212ea0',
    950: '#000000',
  },
}
SCSS
$custom: #212ea0;
$custom-light: #7367bd;
$custom-dark: #000000;
JSON
{
  "hex": "#212ea0",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 233.858,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37883,
    "c": 0.18133,
    "h": 269.6
  },
  "luminance": 0.04815
}

Semantic roles & 50–950 ramp

primary
#212EA0
secondary
#C2B85B
accent
#D73FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #212EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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