#212A73#212A73

#212A73 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.125 H 272.1°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#212A73
RGBrgb(33, 42, 115)
HSLhsl(233, 55%, 29%)
HSVhsv(233, 71%, 45%)
CMYKcmyk(71.3%, 63.5%, 0%, 54.9%)
CIE-LABlab(20.89, 22.52, -43.23)
CIE-LCHlch(20.89, 48.74, 297.51°)
OKLaboklab(32.69% 0.0046 -0.1247)
OKLCHoklch(32.69% 0.125 272.1)
XYZxyz(4.5486, 3.2166, 16.5975)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212A73 #736A21
analogous
#215373 #212A73 #412173
triadic
#212A73 #73212A #2A7321
tetradic
#212A73 #732153 #736A21 #217341
square
#212A73 #732153 #736A21 #217341
split-complementary
#212A73 #734121 #537321
monochromatic
#070918 #131943 #212A73 #2F3BA3 #4553CA

Accessibility & contrast

On white

12.78
#212A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#212A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212A73
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212A73#FFFFFF#000000##FFFFFF
##212A731.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #212a73;
/* rgb */ color: rgb(33, 42, 115);
/* oklch */ color: oklch(32.7% 0.125 272.1);
Tailwind
colors: {
  custom: {
    50: '#68639c',
    500: '#212a73',
    950: '#000000',
  },
}
SCSS
$custom: #212a73;
$custom-light: #68639c;
$custom-dark: #000000;
JSON
{
  "hex": "#212a73",
  "rgb": {
    "r": 33,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 233.415,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32693,
    "c": 0.12475,
    "h": 272.1
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#212A73
secondary
#A69C49
accent
#CE49DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #212A73

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

Preview Lab → · Contrast checker → · Palette generator →

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