#212D73#212D73

#212D73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.121 H 270.9°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#212D73
RGBrgb(33, 45, 115)
HSLhsl(231, 55%, 29%)
HSVhsv(231, 71%, 45%)
CMYKcmyk(71.3%, 60.9%, 0%, 54.9%)
CIE-LABlab(21.72, 20.41, -41.89)
CIE-LCHlch(21.72, 46.60, 295.98°)
OKLaboklab(33.31% 0.002 -0.1207)
OKLCHoklch(33.31% 0.121 270.9)
XYZxyz(4.6590, 3.4375, 16.6343)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212D73 #736721
analogous
#215673 #212D73 #3E2173
triadic
#212D73 #73212D #2D7321
tetradic
#212D73 #732156 #736721 #21733E
square
#212D73 #732156 #736721 #21733E
split-complementary
#212D73 #733E21 #567321
monochromatic
#070918 #131A43 #212D73 #2F40A3 #4558CA

Accessibility & contrast

On white

12.44
#212D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#212D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212D73
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212D73#FFFFFF#000000##FFFFFF
##212D731.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212d73;
/* rgb */ color: rgb(33, 45, 115);
/* oklch */ color: oklch(33.3% 0.121 270.9);
Tailwind
colors: {
  custom: {
    50: '#68659c',
    500: '#212d73',
    950: '#000000',
  },
}
SCSS
$custom: #212d73;
$custom-light: #68659c;
$custom-dark: #000000;
JSON
{
  "hex": "#212d73",
  "rgb": {
    "r": 33,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 231.22,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33306,
    "c": 0.1207,
    "h": 270.9
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#212D73
secondary
#A69949
accent
#C949DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #212D73

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

Preview Lab → · Contrast checker → · Palette generator →

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