#211FA1#211FA1

#211FA1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.197 H 271.2°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#211FA1
RGBrgb(33, 31, 161)
HSLhsl(241, 68%, 38%)
HSVhsv(241, 81%, 63%)
CMYKcmyk(79.5%, 80.7%, 0%, 36.9%)
CIE-LABlab(23.26, 45.71, -68.09)
CIE-LCHlch(23.26, 82.00, 303.87°)
OKLaboklab(35.83% 0.004 -0.1971)
OKLCHoklch(35.83% 0.197 271.2)
XYZxyz(7.5480, 3.8757, 34.0616)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211FA1 #9FA11F
analogous
#1F5EA1 #211FA1 #621FA1
triadic
#211FA1 #A1211F #1FA121
tetradic
#211FA1 #A11F5E #9FA11F #1FA162
square
#211FA1 #A11F5E #9FA11F #1FA162
split-complementary
#211FA1 #A1621F #5EA11F
monochromatic
#0C0B3A #16156E #211FA1 #2C29D4 #5D5BDF

Accessibility & contrast

On white

11.83
#211FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#211FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211FA1
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211FA1#FFFFFF#000000##FFFFFF
##211FA11.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #211fa1;
/* rgb */ color: rgb(33, 31, 161);
/* oklch */ color: oklch(35.8% 0.197 271.2);
Tailwind
colors: {
  custom: {
    50: '#755ebe',
    500: '#211fa1',
    950: '#000000',
  },
}
SCSS
$custom: #211fa1;
$custom-light: #755ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#211fa1",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 240.923,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.35826,
    "c": 0.19714,
    "h": 271.2
  },
  "luminance": 0.03877
}

Semantic roles & 50–950 ramp

primary
#211FA1
secondary
#C2C458
accent
#EB3DE8
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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