#211CB4#211CB4

#211CB4 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.8% C 0.221 H 270.1°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#211CB4
RGBrgb(33, 28, 180)
HSLhsl(242, 73%, 41%)
HSVhsv(242, 84%, 71%)
CMYKcmyk(81.7%, 84.4%, 0%, 29.4%)
CIE-LABlab(25.10, 53.06, -76.48)
CIE-LCHlch(25.10, 93.09, 304.75°)
OKLaboklab(37.77% 0.0005 -0.2213)
OKLCHoklch(37.77% 0.221 270.1)
XYZxyz(9.2779, 4.4480, 43.5407)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211CB4 #AFB41C
analogous
#1C63B4 #211CB4 #6D1CB4
triadic
#211CB4 #B4211C #1CB421
tetradic
#211CB4 #B41C63 #AFB41C #1CB46D
square
#211CB4 #B41C63 #AFB41C #1CB46D
split-complementary
#211CB4 #B46D1C #63B41C
monochromatic
#0E0C4A #17147F #211CB4 #342FDF #6864E7

Accessibility & contrast

On white

11.11
#211CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#211CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211CB4
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211CB4#FFFFFF#000000##FFFFFF
##211CB41.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0033B2
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #211cb4;
/* rgb */ color: rgb(33, 28, 180);
/* oklch */ color: oklch(37.8% 0.221 270.1);
Tailwind
colors: {
  custom: {
    50: '#7a5ecc',
    500: '#211cb4',
    950: '#000000',
  },
}
SCSS
$custom: #211cb4;
$custom-light: #7a5ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#211cb4",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 241.974,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.37771,
    "c": 0.22134,
    "h": 270.1
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#211CB4
secondary
#C8CC60
accent
#F038EA
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #211CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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