#212ABD#212ABD

#212ABD is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.221 H 268.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#212ABD
RGBrgb(33, 42, 189)
HSLhsl(237, 70%, 44%)
HSVhsv(237, 83%, 74%)
CMYKcmyk(82.5%, 77.8%, 0%, 25.9%)
CIE-LABlab(28.52, 49.07, -76.16)
CIE-LCHlch(28.52, 90.60, 302.79°)
OKLaboklab(40.46% -0.0042 -0.2206)
OKLCHoklch(40.46% 0.221 268.9)
XYZxyz(10.6373, 5.6521, 48.6646)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212ABD #BDB421
analogous
#2178BD #212ABD #6621BD
triadic
#212ABD #BD212A #2ABD21
tetradic
#212ABD #BD2178 #BDB421 #21BD66
square
#212ABD #BD2178 #BDB421 #21BD66
split-complementary
#212ABD #BD6621 #78BD21
monochromatic
#0F1355 #181E89 #212ABD #3E47DD #7279E6

Accessibility & contrast

On white

9.86
#212ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#212ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212ABD
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212ABD#FFFFFF#000000##FFFFFF
##212ABD1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#003BBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #212abd;
/* rgb */ color: rgb(33, 42, 189);
/* oklch */ color: oklch(40.5% 0.221 268.9);
Tailwind
colors: {
  custom: {
    50: '#7b66d2',
    500: '#212abd',
    950: '#000000',
  },
}
SCSS
$custom: #212abd;
$custom-light: #7b66d2;
$custom-dark: #000000;
JSON
{
  "hex": "#212abd",
  "rgb": {
    "r": 33,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 236.538,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40461,
    "c": 0.22069,
    "h": 268.9
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#212ABD
secondary
#CDC86D
accent
#E33BED
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #212ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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