#211FD5#211FD5

#211FD5 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 42.1% C 0.256 H 268.4°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#211FD5
RGBrgb(33, 31, 213)
HSLhsl(241, 75%, 48%)
HSVhsv(241, 85%, 84%)
CMYKcmyk(84.5%, 85.4%, 0%, 16.5%)
CIE-LABlab(29.68, 61.54, -88.28)
CIE-LCHlch(29.68, 107.61, 304.88°)
OKLaboklab(42.09% -0.0069 -0.2555)
OKLCHoklch(42.09% 0.256 268.4)
XYZxyz(13.1233, 6.1058, 63.4247)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211FD5 #D3D51F
analogous
#1F78D5 #211FD5 #7C1FD5
triadic
#211FD5 #D5211F #1FD521
tetradic
#211FD5 #D51F78 #D3D51F #1FD57C
square
#211FD5 #D51F78 #D3D51F #1FD57C
split-complementary
#211FD5 #D57C1F #78D51F
monochromatic
#100F6A #1917A0 #211FD5 #4E4CE5 #8382ED

Accessibility & contrast

On white

9.45
#211FD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#211FD5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211FD5
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211FD5#FFFFFF#000000##FFFFFF
##211FD51.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FDA
Deuteranopia (green-blind)
#003CD2
Tritanopia (blue-blind)
#005D7F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #211fd5;
/* rgb */ color: rgb(33, 31, 213);
/* oklch */ color: oklch(42.1% 0.256 268.4);
Tailwind
colors: {
  custom: {
    50: '#8262e4',
    500: '#211fd5',
    950: '#000000',
  },
}
SCSS
$custom: #211fd5;
$custom-light: #8262e4;
$custom-dark: #000000;
JSON
{
  "hex": "#211fd5",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 213
  },
  "hsl": {
    "h": 240.659,
    "s": 74.59,
    "l": 47.843
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.25556,
    "h": 268.4
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#211FD5
secondary
#D4D57A
accent
#F137EF
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0516
muted
#7E7A84

Preview Lab

Preview with #211FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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