#212C73#212C73

#212C73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.122 H 271.4°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#212C73
RGBrgb(33, 44, 115)
HSLhsl(232, 55%, 29%)
HSVhsv(232, 71%, 45%)
CMYKcmyk(71.3%, 61.7%, 0%, 54.9%)
CIE-LABlab(21.44, 21.12, -42.34)
CIE-LCHlch(21.44, 47.31, 296.51°)
OKLaboklab(33.1% 0.0029 -0.122)
OKLCHoklch(33.1% 0.122 271.4)
XYZxyz(4.6213, 3.3621, 16.6217)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212C73 #736821
analogous
#215573 #212C73 #3F2173
triadic
#212C73 #73212C #2C7321
tetradic
#212C73 #732155 #736821 #21733F
square
#212C73 #732155 #736821 #21733F
split-complementary
#212C73 #733F21 #557321
monochromatic
#070918 #131A43 #212C73 #2F3EA3 #4557CA

Accessibility & contrast

On white

12.56
#212C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#212C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212C73
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212C73#FFFFFF#000000##FFFFFF
##212C731.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #212c73;
/* rgb */ color: rgb(33, 44, 115);
/* oklch */ color: oklch(33.1% 0.122 271.4);
Tailwind
colors: {
  custom: {
    50: '#68659c',
    500: '#212c73',
    950: '#000000',
  },
}
SCSS
$custom: #212c73;
$custom-light: #68659c;
$custom-dark: #000000;
JSON
{
  "hex": "#212c73",
  "rgb": {
    "r": 33,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 231.951,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33099,
    "c": 0.12205,
    "h": 271.4
  },
  "luminance": 0.03363
}

Semantic roles & 50–950 ramp

primary
#212C73
secondary
#A69A49
accent
#CB49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #212C73

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

Preview Lab → · Contrast checker → · Palette generator →

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