#212673#212673

#212673 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.130 H 273.5°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#212673
RGBrgb(33, 38, 115)
HSLhsl(236, 55%, 29%)
HSVhsv(236, 71%, 45%)
CMYKcmyk(71.3%, 67%, 0%, 54.9%)
CIE-LABlab(19.83, 25.28, -44.96)
CIE-LCHlch(19.83, 51.58, 299.34°)
OKLaboklab(31.91% 0.008 -0.1298)
OKLCHoklch(31.91% 0.13 273.5)
XYZxyz(4.4138, 2.9470, 16.5525)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212673 #736E21
analogous
#214F73 #212673 #452173
triadic
#212673 #732126 #267321
tetradic
#212673 #73214F #736E21 #217345
square
#212673 #73214F #736E21 #217345
split-complementary
#212673 #734521 #4F7321
monochromatic
#070818 #131643 #212673 #2F36A3 #454DCA

Accessibility & contrast

On white

13.21
#212673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#212673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212673
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212673#FFFFFF#000000##FFFFFF
##2126731.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212673;
/* rgb */ color: rgb(33, 38, 115);
/* oklch */ color: oklch(31.9% 0.130 273.5);
Tailwind
colors: {
  custom: {
    50: '#68609c',
    500: '#212673',
    950: '#000000',
  },
}
SCSS
$custom: #212673;
$custom-light: #68609c;
$custom-dark: #000000;
JSON
{
  "hex": "#212673",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 236.341,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31913,
    "c": 0.13002,
    "h": 273.5
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#212673
secondary
#A6A149
accent
#D649DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #212673

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

Preview Lab → · Contrast checker → · Palette generator →

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