#211A8E#211A8E

#211A8E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.179 H 273.2°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#211A8E
RGBrgb(33, 26, 142)
HSLhsl(244, 69%, 33%)
HSVhsv(244, 82%, 56%)
CMYKcmyk(76.8%, 81.7%, 0%, 44.3%)
CIE-LABlab(20.10, 42.11, -61.61)
CIE-LCHlch(20.10, 74.62, 304.35°)
OKLaboklab(32.97% 0.0101 -0.1782)
OKLCHoklch(32.97% 0.179 273.2)
XYZxyz(5.8774, 3.0145, 25.8580)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A8E #878E1A
analogous
#1A4D8E #211A8E #5B1A8E
triadic
#211A8E #8E211A #1A8E21
tetradic
#211A8E #8E1A4D #878E1A #1A8E5B
square
#211A8E #8E1A4D #878E1A #1A8E5B
split-complementary
#211A8E #8E5B1A #4D8E1A
monochromatic
#090727 #15115A #211A8E #2D23C2 #4F45DD

Accessibility & contrast

On white

13.10
#211A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#211A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A8E
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A8E#FFFFFF#000000##FFFFFF
##211A8E1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #211a8e;
/* rgb */ color: rgb(33, 26, 142);
/* oklch */ color: oklch(33.0% 0.179 273.2);
Tailwind
colors: {
  custom: {
    50: '#705ab0',
    500: '#211a8e',
    950: '#000000',
  },
}
SCSS
$custom: #211a8e;
$custom-light: #705ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#211a8e",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 243.621,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32968,
    "c": 0.17852,
    "h": 273.2
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#211A8E
secondary
#B7BE45
accent
#EC3CE1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211A8E

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

Preview Lab → · Contrast checker → · Palette generator →

#211A8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva