#211986#211986

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

Color values

HEX#211986
RGBrgb(33, 25, 134)
HSLhsl(244, 69%, 31%)
HSVhsv(244, 81%, 53%)
CMYKcmyk(75.4%, 81.3%, 0%, 47.5%)
CIE-LABlab(18.97, 40.01, -58.48)
CIE-LCHlch(18.97, 70.86, 304.38°)
OKLaboklab(31.9% 0.0125 -0.1691)
OKLCHoklch(31.9% 0.17 274.2)
XYZxyz(5.2765, 2.7393, 22.8003)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211986 #7E8619
analogous
#194786 #211986 #571986
triadic
#211986 #862119 #198621
tetradic
#211986 #861947 #7E8619 #198657
square
#211986 #861947 #7E8619 #198657
split-complementary
#211986 #865719 #478619
monochromatic
#08061F #140F52 #211986 #2E23BA #4A3EDB

Accessibility & contrast

On white

13.57
#211986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#211986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211986
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211986#FFFFFF#000000##FFFFFF
##2119861.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211986;
/* rgb */ color: rgb(33, 25, 134);
/* oklch */ color: oklch(31.9% 0.170 274.2);
Tailwind
colors: {
  custom: {
    50: '#6e59aa',
    500: '#211986',
    950: '#000000',
  },
}
SCSS
$custom: #211986;
$custom-light: #6e59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#211986",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 244.404,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.319,
    "c": 0.1696,
    "h": 274.2
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#211986
secondary
#B1BA41
accent
#EB3CDF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #211986

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

Preview Lab → · Contrast checker → · Palette generator →

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