#212CA0#212CA0

#212CA0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.183 H 269.8°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#212CA0
RGBrgb(33, 44, 160)
HSLhsl(235, 66%, 38%)
HSVhsv(235, 79%, 63%)
CMYKcmyk(79.4%, 72.5%, 0%, 37.3%)
CIE-LABlab(25.75, 37.99, -63.35)
CIE-LCHlch(25.75, 73.87, 300.95°)
OKLaboklab(37.56% -0.0005 -0.1835)
OKLCHoklch(37.56% 0.183 269.8)
XYZxyz(7.8709, 4.6619, 33.7359)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212CA0 #A09521
analogous
#216BA0 #212CA0 #5521A0
triadic
#212CA0 #A0212C #2CA021
tetradic
#212CA0 #A0216B #A09521 #21A055
square
#212CA0 #A0216B #A09521 #21A055
split-complementary
#212CA0 #A05521 #6BA021
monochromatic
#0C103B #171E6D #212CA0 #2B3AD3 #5E69DE

Accessibility & contrast

On white

10.87
#212CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#212CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212CA0
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212CA0#FFFFFF#000000##FFFFFF
##212CA01.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #212ca0;
/* rgb */ color: rgb(33, 44, 160);
/* oklch */ color: oklch(37.6% 0.183 269.8);
Tailwind
colors: {
  custom: {
    50: '#7366bd',
    500: '#212ca0',
    950: '#000000',
  },
}
SCSS
$custom: #212ca0;
$custom-light: #7366bd;
$custom-dark: #000000;
JSON
{
  "hex": "#212ca0",
  "rgb": {
    "r": 33,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 234.803,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37559,
    "c": 0.18349,
    "h": 269.8
  },
  "luminance": 0.04663
}

Semantic roles & 50–950 ramp

primary
#212CA0
secondary
#C2B95B
accent
#DA3FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #212CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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