#211173#211173

#211173 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.153 H 278.1°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#211173
RGBrgb(33, 17, 115)
HSLhsl(250, 74%, 26%)
HSVhsv(250, 85%, 45%)
CMYKcmyk(71.3%, 85.2%, 0%, 54.9%)
CIE-LABlab(15.29, 37.92, -52.45)
CIE-LCHlch(15.29, 64.72, 305.87°)
OKLaboklab(28.67% 0.0214 -0.1515)
OKLCHoklch(28.67% 0.153 278.1)
XYZxyz(3.9212, 1.9617, 16.3883)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211173 #637311
analogous
#113273 #211173 #521173
triadic
#211173 #732111 #117321
tetradic
#211173 #731132 #637311 #117352
square
#211173 #731132 #637311 #117352
split-complementary
#211173 #735211 #327311
monochromatic
#08041B #12093E #211173 #3019A8 #4021DE

Accessibility & contrast

On white

15.08
#211173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#211173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211173
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211173#FFFFFF#000000##FFFFFF
##2111731.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211173;
/* rgb */ color: rgb(33, 17, 115);
/* oklch */ color: oklch(28.7% 0.153 278.1);
Tailwind
colors: {
  custom: {
    50: '#6a539c',
    500: '#211173',
    950: '#000000',
  },
}
SCSS
$custom: #211173;
$custom-light: #6a539c;
$custom-dark: #000000;
JSON
{
  "hex": "#211173",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 249.796,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28674,
    "c": 0.15301,
    "h": 278.1
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#211173
secondary
#97AA36
accent
#F137D3
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #211173

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

Preview Lab → · Contrast checker → · Palette generator →

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