#211AB2#211AB2

#211AB2 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.3% C 0.220 H 270.3°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#211AB2
RGBrgb(33, 26, 178)
HSLhsl(243, 75%, 40%)
HSVhsv(243, 85%, 70%)
CMYKcmyk(81.5%, 85.4%, 0%, 30.2%)
CIE-LABlab(24.56, 53.31, -76.18)
CIE-LCHlch(24.56, 92.99, 304.98°)
OKLaboklab(37.33% 0.0012 -0.2204)
OKLCHoklch(37.33% 0.22 270.3)
XYZxyz(9.0298, 4.2754, 42.4602)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211AB2 #ABB21A
analogous
#1A5FB2 #211AB2 #6D1AB2
triadic
#211AB2 #B2211A #1AB221
tetradic
#211AB2 #B21A5F #ABB21A #1AB26D
square
#211AB2 #B21A5F #ABB21A #1AB26D
split-complementary
#211AB2 #B26D1A #5FB21A
monochromatic
#0D0A47 #17127D #211AB2 #3229E0 #655FE8

Accessibility & contrast

On white

11.32
#211AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#211AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211AB2
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211AB2#FFFFFF#000000##FFFFFF
##211AB21.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B6
Deuteranopia (green-blind)
#0032B0
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #211ab2;
/* rgb */ color: rgb(33, 26, 178);
/* oklch */ color: oklch(37.3% 0.220 270.3);
Tailwind
colors: {
  custom: {
    50: '#7a5dcb',
    500: '#211ab2',
    950: '#000000',
  },
}
SCSS
$custom: #211ab2;
$custom-light: #7a5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#211ab2",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 178
  },
  "hsl": {
    "h": 242.763,
    "s": 74.51,
    "l": 40
  },
  "oklch": {
    "l": 0.37329,
    "c": 0.22043,
    "h": 270.3
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#211AB2
secondary
#C7CC5C
accent
#F137E9
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #211AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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