#212BA0#212BA0

#212BA0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.185 H 270.0°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#212BA0
RGBrgb(33, 43, 160)
HSLhsl(235, 66%, 38%)
HSVhsv(235, 79%, 63%)
CMYKcmyk(79.4%, 73.1%, 0%, 37.3%)
CIE-LABlab(25.53, 38.60, -63.72)
CIE-LCHlch(25.53, 74.50, 301.21°)
OKLaboklab(37.4% -0.0001 -0.1845)
OKLCHoklch(37.4% 0.185 270)
XYZxyz(7.8341, 4.5883, 33.7236)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212BA0 #A09621
analogous
#216AA0 #212BA0 #5721A0
triadic
#212BA0 #A0212B #2BA021
tetradic
#212BA0 #A0216A #A09621 #21A057
square
#212BA0 #A0216A #A09621 #21A057
split-complementary
#212BA0 #A05721 #6AA021
monochromatic
#0C103B #171D6D #212BA0 #2B39D3 #5E68DE

Accessibility & contrast

On white

10.95
#212BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#212BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212BA0
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212BA0#FFFFFF#000000##FFFFFF
##212BA01.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #212ba0;
/* rgb */ color: rgb(33, 43, 160);
/* oklch */ color: oklch(37.4% 0.185 270.0);
Tailwind
colors: {
  custom: {
    50: '#7365bd',
    500: '#212ba0',
    950: '#000000',
  },
}
SCSS
$custom: #212ba0;
$custom-light: #7365bd;
$custom-dark: #000000;
JSON
{
  "hex": "#212ba0",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 235.276,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.374,
    "c": 0.18454,
    "h": 270
  },
  "luminance": 0.04589
}

Semantic roles & 50–950 ramp

primary
#212BA0
secondary
#C2BA5B
accent
#DB3FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #212BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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