#211785#211785

#211785 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.170 H 274.6°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#211785
RGBrgb(33, 23, 133)
HSLhsl(245, 71%, 31%)
HSVhsv(245, 83%, 52%)
CMYKcmyk(75.2%, 82.7%, 0%, 47.8%)
CIE-LABlab(18.49, 40.72, -58.63)
CIE-LCHlch(18.49, 71.39, 304.78°)
OKLaboklab(31.53% 0.0135 -0.1696)
OKLCHoklch(31.53% 0.17 274.6)
XYZxyz(5.1658, 2.6291, 22.4210)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211785 #7B8517
analogous
#174485 #211785 #581785
triadic
#211785 #852117 #178521
tetradic
#211785 #851744 #7B8517 #178558
square
#211785 #851744 #7B8517 #178558
split-complementary
#211785 #855817 #448517
monochromatic
#07051D #140E51 #211785 #2E20B9 #483ADD

Accessibility & contrast

On white

13.76
#211785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211785
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211785#FFFFFF#000000##FFFFFF
##2117851.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211785;
/* rgb */ color: rgb(33, 23, 133);
/* oklch */ color: oklch(31.5% 0.170 274.6);
Tailwind
colors: {
  custom: {
    50: '#6e57aa',
    500: '#211785',
    950: '#000000',
  },
}
SCSS
$custom: #211785;
$custom-light: #6e57aa;
$custom-dark: #000000;
JSON
{
  "hex": "#211785",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 245.455,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31534,
    "c": 0.1701,
    "h": 274.6
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#211785
secondary
#AEB93F
accent
#ED3BDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211785

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

Preview Lab → · Contrast checker → · Palette generator →

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