#212573#212573

#212573 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.131 H 273.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#212573
RGBrgb(33, 37, 115)
HSLhsl(237, 55%, 29%)
HSVhsv(237, 71%, 45%)
CMYKcmyk(71.3%, 67.8%, 0%, 54.9%)
CIE-LABlab(19.57, 25.96, -45.39)
CIE-LCHlch(19.57, 52.29, 299.77°)
OKLaboklab(31.72% 0.0088 -0.131)
OKLCHoklch(31.72% 0.131 273.8)
XYZxyz(4.3822, 2.8839, 16.5420)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212573 #736F21
analogous
#214E73 #212573 #462173
triadic
#212573 #732125 #257321
tetradic
#212573 #73214E #736F21 #217346
square
#212573 #73214E #736F21 #217346
split-complementary
#212573 #734621 #4E7321
monochromatic
#070818 #131643 #212573 #2F34A3 #454BCA

Accessibility & contrast

On white

13.32
#212573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#212573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212573
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212573#FFFFFF#000000##FFFFFF
##2125731.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #212573;
/* rgb */ color: rgb(33, 37, 115);
/* oklch */ color: oklch(31.7% 0.131 273.8);
Tailwind
colors: {
  custom: {
    50: '#695f9c',
    500: '#212573',
    950: '#000000',
  },
}
SCSS
$custom: #212573;
$custom-light: #695f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#212573",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 237.073,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31724,
    "c": 0.13131,
    "h": 273.8
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#212573
secondary
#A6A249
accent
#D749DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #212573

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

Preview Lab → · Contrast checker → · Palette generator →

#212573 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva