#212CBD#212CBD

#212CBD is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.219 H 268.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#212CBD
RGBrgb(33, 44, 189)
HSLhsl(236, 70%, 44%)
HSVhsv(236, 83%, 74%)
CMYKcmyk(82.5%, 76.7%, 0%, 25.9%)
CIE-LABlab(28.90, 47.99, -75.53)
CIE-LCHlch(28.90, 89.49, 302.43°)
OKLaboklab(40.73% -0.0047 -0.2189)
OKLCHoklch(40.73% 0.219 268.8)
XYZxyz(10.7100, 5.7975, 48.6888)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212CBD #BDB221
analogous
#217ABD #212CBD #6421BD
triadic
#212CBD #BD212C #2CBD21
tetradic
#212CBD #BD217A #BDB221 #21BD64
square
#212CBD #BD217A #BDB221 #21BD64
split-complementary
#212CBD #BD6421 #7ABD21
monochromatic
#0F1455 #182089 #212CBD #3E49DD #727AE6

Accessibility & contrast

On white

9.72
#212CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#212CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212CBD
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212CBD#FFFFFF#000000##FFFFFF
##212CBD1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#003CBA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #212cbd;
/* rgb */ color: rgb(33, 44, 189);
/* oklch */ color: oklch(40.7% 0.219 268.8);
Tailwind
colors: {
  custom: {
    50: '#7b67d2',
    500: '#212cbd',
    950: '#000000',
  },
}
SCSS
$custom: #212cbd;
$custom-light: #7b67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#212cbd",
  "rgb": {
    "r": 33,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 235.769,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40728,
    "c": 0.21891,
    "h": 268.8
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#212CBD
secondary
#CDC66D
accent
#E03BED
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #212CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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