#211FB4#211FB4

#211FB4 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.1% C 0.219 H 270.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#211FB4
RGBrgb(33, 31, 180)
HSLhsl(241, 71%, 41%)
HSVhsv(241, 83%, 71%)
CMYKcmyk(81.7%, 82.8%, 0%, 29.4%)
CIE-LABlab(25.56, 51.71, -75.73)
CIE-LCHlch(25.56, 91.70, 304.33°)
OKLaboklab(38.09% -0.0001 -0.2192)
OKLCHoklch(38.09% 0.219 270)
XYZxyz(9.3526, 4.5975, 43.5656)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211FB4 #B2B41F
analogous
#1F68B4 #211FB4 #6C1FB4
triadic
#211FB4 #B4211F #1FB421
tetradic
#211FB4 #B41F68 #B2B41F #1FB46C
square
#211FB4 #B41F68 #B2B41F #1FB46C
split-complementary
#211FB4 #B46C1F #68B41F
monochromatic
#0E0D4C #171680 #211FB4 #3634DC #6A68E5

Accessibility & contrast

On white

10.94
#211FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#211FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211FB4
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211FB4#FFFFFF#000000##FFFFFF
##211FB41.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#0035B2
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #211fb4;
/* rgb */ color: rgb(33, 31, 180);
/* oklch */ color: oklch(38.1% 0.219 270.0);
Tailwind
colors: {
  custom: {
    50: '#7a5fcc',
    500: '#211fb4',
    950: '#000000',
  },
}
SCSS
$custom: #211fb4;
$custom-light: #7a5fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#211fb4",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 240.805,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38086,
    "c": 0.21922,
    "h": 270
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#211FB4
secondary
#C9CB64
accent
#ED3AEB
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #211FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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