#211AB3#211AB3

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

Color values

HEX#211AB3
RGBrgb(33, 26, 179)
HSLhsl(243, 75%, 40%)
HSVhsv(243, 85%, 70%)
CMYKcmyk(81.6%, 85.5%, 0%, 29.8%)
CIE-LABlab(24.69, 53.61, -76.57)
CIE-LCHlch(24.69, 93.47, 305.00°)
OKLaboklab(37.45% 0.001 -0.2215)
OKLCHoklch(37.45% 0.222 270.3)
XYZxyz(9.1305, 4.3157, 42.9909)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211AB3 #ACB31A
analogous
#1A60B3 #211AB3 #6D1AB3
triadic
#211AB3 #B3211A #1AB321
tetradic
#211AB3 #B31A60 #ACB31A #1AB36D
square
#211AB3 #B31A60 #ACB31A #1AB36D
split-complementary
#211AB3 #B36D1A #60B31A
monochromatic
#0D0A48 #17127E #211AB3 #322AE0 #6660E8

Accessibility & contrast

On white

11.27
#211AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211AB3
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211AB3#FFFFFF#000000##FFFFFF
##211AB31.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B7
Deuteranopia (green-blind)
#0033B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #211ab3;
/* rgb */ color: rgb(33, 26, 179);
/* oklch */ color: oklch(37.5% 0.222 270.3);
Tailwind
colors: {
  custom: {
    50: '#7a5dcb',
    500: '#211ab3',
    950: '#000000',
  },
}
SCSS
$custom: #211ab3;
$custom-light: #7a5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#211ab3",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 242.745,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37452,
    "c": 0.22155,
    "h": 270.3
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#211AB3
secondary
#C7CC5D
accent
#F137E9
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #211AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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