#212773#212773

#212773 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.129 H 273.2°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#212773
RGBrgb(33, 39, 115)
HSLhsl(236, 55%, 29%)
HSVhsv(236, 71%, 45%)
CMYKcmyk(71.3%, 66.1%, 0%, 54.9%)
CIE-LABlab(20.09, 24.59, -44.54)
CIE-LCHlch(20.09, 50.88, 298.91°)
OKLaboklab(32.1% 0.0072 -0.1285)
OKLCHoklch(32.1% 0.129 273.2)
XYZxyz(4.4462, 3.0118, 16.5633)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212773 #736D21
analogous
#215073 #212773 #442173
triadic
#212773 #732127 #277321
tetradic
#212773 #732150 #736D21 #217344
square
#212773 #732150 #736D21 #217344
split-complementary
#212773 #734421 #507321
monochromatic
#070818 #131743 #212773 #2F37A3 #454FCA

Accessibility & contrast

On white

13.11
#212773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#212773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212773
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212773#FFFFFF#000000##FFFFFF
##2127731.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #212773;
/* rgb */ color: rgb(33, 39, 115);
/* oklch */ color: oklch(32.1% 0.129 273.2);
Tailwind
colors: {
  custom: {
    50: '#68619c',
    500: '#212773',
    950: '#000000',
  },
}
SCSS
$custom: #212773;
$custom-light: #68619c;
$custom-dark: #000000;
JSON
{
  "hex": "#212773",
  "rgb": {
    "r": 33,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 235.61,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32104,
    "c": 0.12872,
    "h": 273.2
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#212773
secondary
#A6A049
accent
#D449DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #212773

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

Preview Lab → · Contrast checker → · Palette generator →

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