#211BB4#211BB4

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

Color values

HEX#211BB4
RGBrgb(33, 27, 180)
HSLhsl(242, 74%, 41%)
HSVhsv(242, 85%, 71%)
CMYKcmyk(81.7%, 85%, 0%, 29.4%)
CIE-LABlab(24.96, 53.49, -76.72)
CIE-LCHlch(24.96, 93.53, 304.88°)
OKLaboklab(37.67% 0.0006 -0.222)
OKLCHoklch(37.67% 0.222 270.2)
XYZxyz(9.2546, 4.4014, 43.5330)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211BB4 #AEB41B
analogous
#1B61B4 #211BB4 #6D1BB4
triadic
#211BB4 #B4211B #1BB421
tetradic
#211BB4 #B41B61 #AEB41B #1BB46D
square
#211BB4 #B41B61 #AEB41B #1BB46D
split-complementary
#211BB4 #B46D1B #61B41B
monochromatic
#0D0B4A #17137F #211BB4 #342DDF #6762E7

Accessibility & contrast

On white

11.17
#211BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#211BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211BB4
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211BB4#FFFFFF#000000##FFFFFF
##211BB41.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211bb4;
/* rgb */ color: rgb(33, 27, 180);
/* oklch */ color: oklch(37.7% 0.222 270.2);
Tailwind
colors: {
  custom: {
    50: '#7a5dcc',
    500: '#211bb4',
    950: '#000000',
  },
}
SCSS
$custom: #211bb4;
$custom-light: #7a5dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#211bb4",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 242.353,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.37672,
    "c": 0.22202,
    "h": 270.2
  },
  "luminance": 0.04402
}

Semantic roles & 50–950 ramp

primary
#211BB4
secondary
#C8CC5F
accent
#F137E9
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #211BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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