#211886#211886

#211886 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.170 H 274.3°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#211886
RGBrgb(33, 24, 134)
HSLhsl(245, 70%, 31%)
HSVhsv(245, 82%, 53%)
CMYKcmyk(75.4%, 82.1%, 0%, 47.5%)
CIE-LABlab(18.79, 40.54, -58.77)
CIE-LCHlch(18.79, 71.40, 304.59°)
OKLaboklab(31.78% 0.0129 -0.17)
OKLCHoklch(31.78% 0.17 274.3)
XYZxyz(5.2555, 2.6973, 22.7933)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211886 #7D8618
analogous
#184686 #211886 #581886
triadic
#211886 #862118 #188621
tetradic
#211886 #861846 #7D8618 #188658
square
#211886 #861846 #7D8618 #188658
split-complementary
#211886 #865818 #468618
monochromatic
#07051E #140F52 #211886 #2E21BA #493CDC

Accessibility & contrast

On white

13.64
#211886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#211886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211886
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211886#FFFFFF#000000##FFFFFF
##2118861.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211886;
/* rgb */ color: rgb(33, 24, 134);
/* oklch */ color: oklch(31.8% 0.170 274.3);
Tailwind
colors: {
  custom: {
    50: '#6f58aa',
    500: '#211886',
    950: '#000000',
  },
}
SCSS
$custom: #211886;
$custom-light: #6f58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#211886",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 244.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31775,
    "c": 0.17048,
    "h": 274.3
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#211886
secondary
#B0BA40
accent
#EC3BDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #211886

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

Preview Lab → · Contrast checker → · Palette generator →

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