#211CA7#211CA7

#211CA7 is a dark, highly saturated blue. Relative luminance 0.039; OKLCH L 36.2% C 0.207 H 271.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#211CA7
RGBrgb(33, 28, 167)
HSLhsl(242, 71%, 38%)
HSVhsv(242, 83%, 65%)
CMYKcmyk(80.2%, 83.2%, 0%, 34.5%)
CIE-LABlab(23.48, 49.08, -71.35)
CIE-LCHlch(23.48, 86.60, 304.52°)
OKLaboklab(36.19% 0.0034 -0.2065)
OKLCHoklch(36.19% 0.207 271)
XYZxyz(8.0151, 3.9430, 36.8904)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211CA7 #A2A71C
analogous
#1C5CA7 #211CA7 #661CA7
triadic
#211CA7 #A7211C #1CA721
tetradic
#211CA7 #A71C5C #A2A71C #1CA766
square
#211CA7 #A71C5C #A2A71C #1CA766
split-complementary
#211CA7 #A7661C #5CA71C
monochromatic
#0C0A3E #171373 #211CA7 #2C26DB #5F5AE3

Accessibility & contrast

On white

11.74
#211CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#211CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211CA7
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211CA7#FFFFFF#000000##FFFFFF
##211CA71.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAB
Deuteranopia (green-blind)
#0031A5
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #211ca7;
/* rgb */ color: rgb(33, 28, 167);
/* oklch */ color: oklch(36.2% 0.207 271.0);
Tailwind
colors: {
  custom: {
    50: '#775dc3',
    500: '#211ca7',
    950: '#000000',
  },
}
SCSS
$custom: #211ca7;
$custom-light: #775dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#211ca7",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 242.158,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36193,
    "c": 0.20654,
    "h": 271
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#211CA7
secondary
#C3C758
accent
#EE3AE8
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #211CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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