#211FA0#211FA0

#211FA0 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.196 H 271.2°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#211FA0
RGBrgb(33, 31, 160)
HSLhsl(241, 68%, 37%)
HSVhsv(241, 81%, 63%)
CMYKcmyk(79.4%, 80.6%, 0%, 37.3%)
CIE-LABlab(23.14, 45.39, -67.67)
CIE-LCHlch(23.14, 81.48, 303.85°)
OKLaboklab(35.71% 0.0043 -0.1959)
OKLCHoklch(35.71% 0.196 271.2)
XYZxyz(7.4602, 3.8405, 33.5990)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211FA0 #9EA01F
analogous
#1F5EA0 #211FA0 #611FA0
triadic
#211FA0 #A0211F #1FA021
tetradic
#211FA0 #A01F5E #9EA01F #1FA061
square
#211FA0 #A01F5E #9EA01F #1FA061
split-complementary
#211FA0 #A0611F #5EA01F
monochromatic
#0C0B39 #16156D #211FA0 #2C29D3 #5C5ADF

Accessibility & contrast

On white

11.88
#211FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#211FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211FA0
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211FA0#FFFFFF#000000##FFFFFF
##211FA01.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #211fa0;
/* rgb */ color: rgb(33, 31, 160);
/* oklch */ color: oklch(35.7% 0.196 271.2);
Tailwind
colors: {
  custom: {
    50: '#755ebd',
    500: '#211fa0',
    950: '#000000',
  },
}
SCSS
$custom: #211fa0;
$custom-light: #755ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#211fa0",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 240.93,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35709,
    "c": 0.19595,
    "h": 271.2
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#211FA0
secondary
#C1C358
accent
#EA3DE8
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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