#211370#211370

#211370 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.148 H 278.3°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#211370
RGBrgb(33, 19, 112)
HSLhsl(249, 71%, 26%)
HSVhsv(249, 83%, 44%)
CMYKcmyk(70.5%, 83%, 0%, 56.1%)
CIE-LABlab(15.27, 35.95, -50.53)
CIE-LCHlch(15.27, 62.01, 305.43°)
OKLaboklab(28.56% 0.0214 -0.146)
OKLCHoklch(28.56% 0.148 278.3)
XYZxyz(3.7838, 1.9586, 15.5047)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211370 #627013
analogous
#133370 #211370 #4F1370
triadic
#211370 #702113 #137021
tetradic
#211370 #701333 #627013 #13704F
square
#211370 #701333 #627013 #13704F
split-complementary
#211370 #704F13 #337013
monochromatic
#08041A #120A3C #211370 #301CA4 #4025D9

Accessibility & contrast

On white

15.09
#211370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211370
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211370#FFFFFF#000000##FFFFFF
##2113701.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00226E
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211370;
/* rgb */ color: rgb(33, 19, 112);
/* oklch */ color: oklch(28.6% 0.148 278.3);
Tailwind
colors: {
  custom: {
    50: '#6a549a',
    500: '#211370',
    950: '#000000',
  },
}
SCSS
$custom: #211370;
$custom-light: #6a549a;
$custom-dark: #000000;
JSON
{
  "hex": "#211370",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 249.032,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28556,
    "c": 0.14752,
    "h": 278.3
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#211370
secondary
#96A738
accent
#EE3AD3
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211370

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

Preview Lab → · Contrast checker → · Palette generator →

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