#211786#211786

#211786 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.171 H 274.4°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#211786
RGBrgb(33, 23, 134)
HSLhsl(245, 71%, 31%)
HSVhsv(245, 83%, 53%)
CMYKcmyk(75.4%, 82.8%, 0%, 47.5%)
CIE-LABlab(18.61, 41.04, -59.06)
CIE-LCHlch(18.61, 71.92, 304.80°)
OKLaboklab(31.65% 0.0133 -0.1708)
OKLCHoklch(31.65% 0.171 274.4)
XYZxyz(5.2352, 2.6568, 22.7865)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211786 #7C8617
analogous
#174586 #211786 #581786
triadic
#211786 #862117 #178621
tetradic
#211786 #861745 #7C8617 #178658
square
#211786 #861745 #7C8617 #178658
split-complementary
#211786 #865817 #458617
monochromatic
#07051E #140E52 #211786 #2E20BA #493ADD

Accessibility & contrast

On white

13.71
#211786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#211786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211786
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211786#FFFFFF#000000##FFFFFF
##2117861.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211786;
/* rgb */ color: rgb(33, 23, 134);
/* oklch */ color: oklch(31.7% 0.171 274.4);
Tailwind
colors: {
  custom: {
    50: '#6f58aa',
    500: '#211786',
    950: '#000000',
  },
}
SCSS
$custom: #211786;
$custom-light: #6f58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#211786",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 245.405,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31653,
    "c": 0.17132,
    "h": 274.4
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#211786
secondary
#AFBA3F
accent
#ED3ADD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #211786

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

Preview Lab → · Contrast checker → · Palette generator →

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