#212E73#212E73

#212E73 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.119 H 270.5°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#212E73
RGBrgb(33, 46, 115)
HSLhsl(230, 55%, 29%)
HSVhsv(230, 71%, 45%)
CMYKcmyk(71.3%, 60%, 0%, 54.9%)
CIE-LABlab(22.00, 19.71, -41.43)
CIE-LCHlch(22.00, 45.88, 295.44°)
OKLaboklab(33.52% 0.0011 -0.1193)
OKLCHoklch(33.52% 0.119 270.5)
XYZxyz(4.6977, 3.5147, 16.6472)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E73 #736621
analogous
#215773 #212E73 #3D2173
triadic
#212E73 #73212E #2E7321
tetradic
#212E73 #732157 #736621 #21733D
square
#212E73 #732157 #736621 #21733D
split-complementary
#212E73 #733D21 #577321
monochromatic
#070A18 #131B43 #212E73 #2F41A3 #455ACA

Accessibility & contrast

On white

12.33
#212E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#212E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212E73
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E73#FFFFFF#000000##FFFFFF
##212E731.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #212e73;
/* rgb */ color: rgb(33, 46, 115);
/* oklch */ color: oklch(33.5% 0.119 270.5);
Tailwind
colors: {
  custom: {
    50: '#68669c',
    500: '#212e73',
    950: '#000000',
  },
}
SCSS
$custom: #212e73;
$custom-light: #68669c;
$custom-dark: #000000;
JSON
{
  "hex": "#212e73",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 230.488,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33515,
    "c": 0.11932,
    "h": 270.5
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

primary
#212E73
secondary
#A69849
accent
#C749DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #212E73

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

Preview Lab → · Contrast checker → · Palette generator →

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