#212EBD#212EBD

#212EBD is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.0% C 0.217 H 268.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#212EBD
RGBrgb(33, 46, 189)
HSLhsl(235, 70%, 44%)
HSVhsv(235, 83%, 74%)
CMYKcmyk(82.5%, 75.7%, 0%, 25.9%)
CIE-LABlab(29.29, 46.87, -74.89)
CIE-LCHlch(29.29, 88.35, 302.04°)
OKLaboklab(41.01% -0.0052 -0.217)
OKLCHoklch(41.01% 0.217 268.6)
XYZxyz(10.7863, 5.9502, 48.7142)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212EBD #BDB021
analogous
#217CBD #212EBD #6221BD
triadic
#212EBD #BD212E #2EBD21
tetradic
#212EBD #BD217C #BDB021 #21BD62
square
#212EBD #BD217C #BDB021 #21BD62
split-complementary
#212EBD #BD6221 #7CBD21
monochromatic
#0F1555 #182189 #212EBD #3E4BDD #727CE6

Accessibility & contrast

On white

9.59
#212EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#212EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212EBD
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212EBD#FFFFFF#000000##FFFFFF
##212EBD1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#003DBB
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #212ebd;
/* rgb */ color: rgb(33, 46, 189);
/* oklch */ color: oklch(41.0% 0.217 268.6);
Tailwind
colors: {
  custom: {
    50: '#7b68d2',
    500: '#212ebd',
    950: '#000000',
  },
}
SCSS
$custom: #212ebd;
$custom-light: #7b68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#212ebd",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 235,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41005,
    "c": 0.21707,
    "h": 268.6
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #212EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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