#212473#212473

#212473 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.133 H 274.1°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#212473
RGBrgb(33, 36, 115)
HSLhsl(238, 55%, 29%)
HSVhsv(238, 71%, 45%)
CMYKcmyk(71.3%, 68.7%, 0%, 54.9%)
CIE-LABlab(19.32, 26.64, -45.80)
CIE-LCHlch(19.32, 52.98, 300.18°)
OKLaboklab(31.54% 0.0096 -0.1322)
OKLCHoklch(31.54% 0.133 274.1)
XYZxyz(4.3516, 2.8225, 16.5318)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212473 #737021
analogous
#214D73 #212473 #472173
triadic
#212473 #732124 #247321
tetradic
#212473 #73214D #737021 #217347
square
#212473 #73214D #737021 #217347
split-complementary
#212473 #734721 #4D7321
monochromatic
#070718 #131543 #212473 #2F33A3 #454ACA

Accessibility & contrast

On white

13.42
#212473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#212473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212473
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212473#FFFFFF#000000##FFFFFF
##2124731.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #212473;
/* rgb */ color: rgb(33, 36, 115);
/* oklch */ color: oklch(31.5% 0.133 274.1);
Tailwind
colors: {
  custom: {
    50: '#695f9c',
    500: '#212473',
    950: '#000000',
  },
}
SCSS
$custom: #212473;
$custom-light: #695f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#212473",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 237.805,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31539,
    "c": 0.1326,
    "h": 274.1
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#212473
secondary
#A6A349
accent
#D949DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #212473

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

Preview Lab → · Contrast checker → · Palette generator →

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