#212973#212973

#212973 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.126 H 272.5°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#212973
RGBrgb(33, 41, 115)
HSLhsl(234, 55%, 29%)
HSVhsv(234, 71%, 45%)
CMYKcmyk(71.3%, 64.3%, 0%, 54.9%)
CIE-LABlab(20.62, 23.21, -43.67)
CIE-LCHlch(20.62, 49.46, 297.99°)
OKLaboklab(32.49% 0.0055 -0.126)
OKLCHoklch(32.49% 0.126 272.5)
XYZxyz(4.5136, 3.1466, 16.5858)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212973 #736B21
analogous
#215273 #212973 #422173
triadic
#212973 #732129 #297321
tetradic
#212973 #732152 #736B21 #217342
square
#212973 #732152 #736B21 #217342
split-complementary
#212973 #734221 #527321
monochromatic
#070818 #131843 #212973 #2F3AA3 #4552CA

Accessibility & contrast

On white

12.89
#212973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#212973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212973
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212973#FFFFFF#000000##FFFFFF
##2129731.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #212973;
/* rgb */ color: rgb(33, 41, 115);
/* oklch */ color: oklch(32.5% 0.126 272.5);
Tailwind
colors: {
  custom: {
    50: '#68629c',
    500: '#212973',
    950: '#000000',
  },
}
SCSS
$custom: #212973;
$custom-light: #68629c;
$custom-dark: #000000;
JSON
{
  "hex": "#212973",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 234.146,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32494,
    "c": 0.12608,
    "h": 272.5
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#212973
secondary
#A69D49
accent
#D049DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #212973

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

Preview Lab → · Contrast checker → · Palette generator →

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