#211373#211373

#211373 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.151 H 277.8°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#211373
RGBrgb(33, 19, 115)
HSLhsl(249, 72%, 26%)
HSVhsv(249, 83%, 45%)
CMYKcmyk(71.3%, 83.5%, 0%, 54.9%)
CIE-LABlab(15.63, 36.92, -51.88)
CIE-LCHlch(15.63, 63.68, 305.44°)
OKLaboklab(28.91% 0.0205 -0.1499)
OKLCHoklch(28.91% 0.151 277.8)
XYZxyz(3.9536, 2.0265, 16.3991)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211373 #657313
analogous
#133573 #211373 #511373
triadic
#211373 #732113 #137321
tetradic
#211373 #731335 #657313 #137351
square
#211373 #731335 #657313 #137351
split-complementary
#211373 #735113 #357313
monochromatic
#08041A #120A3E #211373 #301CA8 #4025DB

Accessibility & contrast

On white

14.94
#211373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#211373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211373
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211373#FFFFFF#000000##FFFFFF
##2113731.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #211373;
/* rgb */ color: rgb(33, 19, 115);
/* oklch */ color: oklch(28.9% 0.151 277.8);
Tailwind
colors: {
  custom: {
    50: '#6a549c',
    500: '#211373',
    950: '#000000',
  },
}
SCSS
$custom: #211373;
$custom-light: #6a549c;
$custom-dark: #000000;
JSON
{
  "hex": "#211373",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 248.75,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.2891,
    "c": 0.15128,
    "h": 277.8
  },
  "luminance": 0.02027
}

Semantic roles & 50–950 ramp

primary
#211373
secondary
#99AA38
accent
#EE39D4
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211373

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

Preview Lab → · Contrast checker → · Palette generator →

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