#211FA9#211FA9

#211FA9 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.8% C 0.207 H 270.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#211FA9
RGBrgb(33, 31, 169)
HSLhsl(241, 69%, 39%)
HSVhsv(241, 82%, 66%)
CMYKcmyk(80.5%, 81.7%, 0%, 33.7%)
CIE-LABlab(24.22, 48.27, -71.35)
CIE-LCHlch(24.22, 86.14, 304.08°)
OKLaboklab(36.77% 0.0023 -0.2065)
OKLCHoklch(36.77% 0.207 270.6)
XYZxyz(8.2762, 4.1669, 37.8965)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211FA9 #A7A91F
analogous
#1F62A9 #211FA9 #661FA9
triadic
#211FA9 #A9211F #1FA921
tetradic
#211FA9 #A91F62 #A7A91F #1FA966
square
#211FA9 #A91F62 #A7A91F #1FA966
split-complementary
#211FA9 #A9661F #62A91F
monochromatic
#0D0C42 #171675 #211FA9 #2F2DD8 #6260E2

Accessibility & contrast

On white

11.45
#211FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#211FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211FA9
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211FA9#FFFFFF#000000##FFFFFF
##211FA91.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AD
Deuteranopia (green-blind)
#0032A7
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #211fa9;
/* rgb */ color: rgb(33, 31, 169);
/* oklch */ color: oklch(36.8% 0.207 270.6);
Tailwind
colors: {
  custom: {
    50: '#775ec4',
    500: '#211fa9',
    950: '#000000',
  },
}
SCSS
$custom: #211fa9;
$custom-light: #775ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#211fa9",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 240.87,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.36772,
    "c": 0.20655,
    "h": 270.6
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#211FA9
secondary
#C5C75D
accent
#EC3CE9
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #211FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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