#211586#211586

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

Color values

HEX#211586
RGBrgb(33, 21, 134)
HSLhsl(246, 73%, 30%)
HSVhsv(246, 84%, 53%)
CMYKcmyk(75.4%, 84.3%, 0%, 47.5%)
CIE-LABlab(18.28, 42.02, -59.62)
CIE-LCHlch(18.28, 72.94, 305.18°)
OKLaboklab(31.42% 0.014 -0.1724)
OKLCHoklch(31.42% 0.173 274.6)
XYZxyz(5.1970, 2.5804, 22.7738)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211586 #7A8615
analogous
#154186 #211586 #5A1586
triadic
#211586 #862115 #158621
tetradic
#211586 #861541 #7A8615 #15865A
square
#211586 #861541 #7A8615 #15865A
split-complementary
#211586 #865A15 #418615
monochromatic
#07041C #140D51 #211586 #2E1DBB #4836DF

Accessibility & contrast

On white

13.85
#211586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#211586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211586
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211586#FFFFFF#000000##FFFFFF
##2115861.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211586;
/* rgb */ color: rgb(33, 21, 134);
/* oklch */ color: oklch(31.4% 0.173 274.6);
Tailwind
colors: {
  custom: {
    50: '#6f56ab',
    500: '#211586',
    950: '#000000',
  },
}
SCSS
$custom: #211586;
$custom-light: #6f56ab;
$custom-dark: #000000;
JSON
{
  "hex": "#211586",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 134
  },
  "hsl": {
    "h": 246.372,
    "s": 72.903,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31421,
    "c": 0.17296,
    "h": 274.6
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#211586
secondary
#ADBA3C
accent
#F038DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #211586

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

Preview Lab → · Contrast checker → · Palette generator →

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