#211372#211372

#211372 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.150 H 278.0°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#211372
RGBrgb(33, 19, 114)
HSLhsl(249, 71%, 26%)
HSVhsv(249, 83%, 45%)
CMYKcmyk(71.1%, 83.3%, 0%, 55.3%)
CIE-LABlab(15.51, 36.60, -51.43)
CIE-LCHlch(15.51, 63.13, 305.44°)
OKLaboklab(28.79% 0.0208 -0.1486)
OKLCHoklch(28.79% 0.15 278)
XYZxyz(3.8964, 2.0036, 16.0977)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211372 #647213
analogous
#133472 #211372 #501372
triadic
#211372 #722113 #137221
tetradic
#211372 #721334 #647213 #137250
square
#211372 #721334 #647213 #137250
split-complementary
#211372 #725013 #347213
monochromatic
#08041A #120A3E #211372 #301CA6 #4025DB

Accessibility & contrast

On white

14.99
#211372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#211372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211372
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211372#FFFFFF#000000##FFFFFF
##2113721.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002370
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #211372;
/* rgb */ color: rgb(33, 19, 114);
/* oklch */ color: oklch(28.8% 0.150 278.0);
Tailwind
colors: {
  custom: {
    50: '#6a549c',
    500: '#211372',
    950: '#000000',
  },
}
SCSS
$custom: #211372;
$custom-light: #6a549c;
$custom-dark: #000000;
JSON
{
  "hex": "#211372",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 248.842,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28792,
    "c": 0.15004,
    "h": 278
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#211372
secondary
#98A938
accent
#EE3AD4
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211372

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

Preview Lab → · Contrast checker → · Palette generator →

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