#212B73#212B73

#212B73 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.123 H 271.7°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#212B73
RGBrgb(33, 43, 115)
HSLhsl(233, 55%, 29%)
HSVhsv(233, 71%, 45%)
CMYKcmyk(71.3%, 62.6%, 0%, 54.9%)
CIE-LABlab(21.16, 21.82, -42.79)
CIE-LCHlch(21.16, 48.03, 297.02°)
OKLaboklab(32.9% 0.0038 -0.1233)
OKLCHoklch(32.9% 0.123 271.7)
XYZxyz(4.5845, 3.2885, 16.6095)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B73 #736921
analogous
#215473 #212B73 #402173
triadic
#212B73 #73212B #2B7321
tetradic
#212B73 #732154 #736921 #217340
square
#212B73 #732154 #736921 #217340
split-complementary
#212B73 #734021 #547321
monochromatic
#070918 #131943 #212B73 #2F3DA3 #4555CA

Accessibility & contrast

On white

12.67
#212B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#212B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B73
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B73#FFFFFF#000000##FFFFFF
##212B731.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #212b73;
/* rgb */ color: rgb(33, 43, 115);
/* oklch */ color: oklch(32.9% 0.123 271.7);
Tailwind
colors: {
  custom: {
    50: '#68649c',
    500: '#212b73',
    950: '#000000',
  },
}
SCSS
$custom: #212b73;
$custom-light: #68649c;
$custom-dark: #000000;
JSON
{
  "hex": "#212b73",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 232.683,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32895,
    "c": 0.12341,
    "h": 271.7
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#212B73
secondary
#A69B49
accent
#CC49DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #212B73

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

Preview Lab → · Contrast checker → · Palette generator →

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