#213173#213173

#213173 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.115 H 269.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#213173
RGBrgb(33, 49, 115)
HSLhsl(228, 55%, 29%)
HSVhsv(228, 71%, 45%)
CMYKcmyk(71.3%, 57.4%, 0%, 54.9%)
CIE-LABlab(22.85, 17.59, -40.04)
CIE-LCHlch(22.85, 43.74, 293.72°)
OKLaboklab(34.16% -0.0017 -0.1152)
OKLCHoklch(34.16% 0.115 269.2)
XYZxyz(4.8190, 3.7573, 16.6876)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213173 #736321
analogous
#215A73 #213173 #3A2173
triadic
#213173 #732131 #317321
tetradic
#213173 #73215A #736321 #21733A
square
#213173 #73215A #736321 #21733A
split-complementary
#213173 #733A21 #5A7321
monochromatic
#070A18 #131D43 #213173 #2F45A3 #455FCA

Accessibility & contrast

On white

11.99
#213173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#213173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213173
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213173#FFFFFF#000000##FFFFFF
##2131731.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #213173;
/* rgb */ color: rgb(33, 49, 115);
/* oklch */ color: oklch(34.2% 0.115 269.2);
Tailwind
colors: {
  custom: {
    50: '#67689c',
    500: '#213173',
    950: '#000000',
  },
}
SCSS
$custom: #213173;
$custom-light: #67689c;
$custom-dark: #000000;
JSON
{
  "hex": "#213173",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 228.293,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34156,
    "c": 0.11521,
    "h": 269.2
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#213173
secondary
#A69449
accent
#C249DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213173

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

Preview Lab → · Contrast checker → · Palette generator →

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