#211EB3#211EB3

#211EB3 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.9% C 0.219 H 270.1°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#211EB3
RGBrgb(33, 30, 179)
HSLhsl(241, 71%, 41%)
HSVhsv(241, 83%, 70%)
CMYKcmyk(81.6%, 83.2%, 0%, 29.8%)
CIE-LABlab(25.28, 51.87, -75.59)
CIE-LCHlch(25.28, 91.68, 304.45°)
OKLaboklab(37.86% 0.0003 -0.2188)
OKLCHoklch(37.86% 0.219 270.1)
XYZxyz(9.2254, 4.5055, 43.0225)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211EB3 #B0B31E
analogous
#1E65B3 #211EB3 #6B1EB3
triadic
#211EB3 #B3211E #1EB321
tetradic
#211EB3 #B31E65 #B0B31E #1EB36B
square
#211EB3 #B31E65 #B0B31E #1EB36B
split-complementary
#211EB3 #B36B1E #65B31E
monochromatic
#0E0C4A #17157F #211EB3 #3532DD #6966E5

Accessibility & contrast

On white

11.04
#211EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#211EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211EB3
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211EB3#FFFFFF#000000##FFFFFF
##211EB31.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #211eb3;
/* rgb */ color: rgb(33, 30, 179);
/* oklch */ color: oklch(37.9% 0.219 270.1);
Tailwind
colors: {
  custom: {
    50: '#7a5fcb',
    500: '#211eb3',
    950: '#000000',
  },
}
SCSS
$custom: #211eb3;
$custom-light: #7a5fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#211eb3",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 241.208,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.37858,
    "c": 0.21881,
    "h": 270.1
  },
  "luminance": 0.04507
}

Semantic roles & 50–950 ramp

primary
#211EB3
secondary
#C8CB62
accent
#EE3AEA
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #211EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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