#211BB3#211BB3

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

Color values

HEX#211BB3
RGBrgb(33, 27, 179)
HSLhsl(242, 74%, 40%)
HSVhsv(242, 85%, 70%)
CMYKcmyk(81.6%, 84.9%, 0%, 29.8%)
CIE-LABlab(24.83, 53.19, -76.34)
CIE-LCHlch(24.83, 93.04, 304.87°)
OKLaboklab(37.55% 0.0008 -0.2209)
OKLCHoklch(37.55% 0.221 270.2)
XYZxyz(9.1531, 4.3608, 42.9984)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211BB3 #ADB31B
analogous
#1B61B3 #211BB3 #6D1BB3
triadic
#211BB3 #B3211B #1BB321
tetradic
#211BB3 #B31B61 #ADB31B #1BB36D
square
#211BB3 #B31B61 #ADB31B #1BB36D
split-complementary
#211BB3 #B36D1B #61B31B
monochromatic
#0D0B49 #17137E #211BB3 #332CDF #6661E7

Accessibility & contrast

On white

11.22
#211BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#211BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211BB3
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211BB3#FFFFFF#000000##FFFFFF
##211BB31.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211bb3;
/* rgb */ color: rgb(33, 27, 179);
/* oklch */ color: oklch(37.5% 0.221 270.2);
Tailwind
colors: {
  custom: {
    50: '#7a5dcb',
    500: '#211bb3',
    950: '#000000',
  },
}
SCSS
$custom: #211bb3;
$custom-light: #7a5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#211bb3",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 179
  },
  "hsl": {
    "h": 242.368,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37549,
    "c": 0.2209,
    "h": 270.2
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#211BB3
secondary
#C7CC5E
accent
#F037E9
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #211BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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