#211371#211371

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

Color values

HEX#211371
RGBrgb(33, 19, 113)
HSLhsl(249, 71%, 26%)
HSVhsv(249, 83%, 44%)
CMYKcmyk(70.8%, 83.2%, 0%, 55.7%)
CIE-LABlab(15.39, 36.27, -50.98)
CIE-LCHlch(15.39, 62.57, 305.43°)
OKLaboklab(28.67% 0.0211 -0.1473)
OKLCHoklch(28.67% 0.149 278.2)
XYZxyz(3.8397, 1.9810, 15.7996)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211371 #637113
analogous
#133471 #211371 #501371
triadic
#211371 #712113 #137121
tetradic
#211371 #711334 #637113 #137150
square
#211371 #711334 #637113 #137150
split-complementary
#211371 #715013 #347113
monochromatic
#08041A #120A3D #211371 #301CA5 #4025DA

Accessibility & contrast

On white

15.04
#211371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211371
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211371#FFFFFF#000000##FFFFFF
##2113711.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211371;
/* rgb */ color: rgb(33, 19, 113);
/* oklch */ color: oklch(28.7% 0.149 278.2);
Tailwind
colors: {
  custom: {
    50: '#6a549b',
    500: '#211371',
    950: '#000000',
  },
}
SCSS
$custom: #211371;
$custom-light: #6a549b;
$custom-dark: #000000;
JSON
{
  "hex": "#211371",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 248.936,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28674,
    "c": 0.14877,
    "h": 278.2
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#211371
secondary
#97A838
accent
#EE3AD3
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211371

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

Preview Lab → · Contrast checker → · Palette generator →

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