#211FA8#211FA8

#211FA8 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.7% C 0.205 H 270.7°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#211FA8
RGBrgb(33, 31, 168)
HSLhsl(241, 69%, 39%)
HSVhsv(241, 82%, 66%)
CMYKcmyk(80.4%, 81.5%, 0%, 34.1%)
CIE-LABlab(24.09, 47.95, -70.94)
CIE-LCHlch(24.09, 85.63, 304.06°)
OKLaboklab(36.65% 0.0025 -0.2054)
OKLCHoklch(36.65% 0.205 270.7)
XYZxyz(8.1827, 4.1295, 37.4040)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211FA8 #A6A81F
analogous
#1F62A8 #211FA8 #661FA8
triadic
#211FA8 #A8211F #1FA821
tetradic
#211FA8 #A81F62 #A6A81F #1FA866
square
#211FA8 #A81F62 #A6A81F #1FA866
split-complementary
#211FA8 #A8661F #62A81F
monochromatic
#0D0C41 #171574 #211FA8 #2F2CD8 #6260E2

Accessibility & contrast

On white

11.50
#211FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211FA8
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211FA8#FFFFFF#000000##FFFFFF
##211FA81.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AC
Deuteranopia (green-blind)
#0032A6
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #211fa8;
/* rgb */ color: rgb(33, 31, 168);
/* oklch */ color: oklch(36.7% 0.205 270.7);
Tailwind
colors: {
  custom: {
    50: '#775ec3',
    500: '#211fa8',
    950: '#000000',
  },
}
SCSS
$custom: #211fa8;
$custom-light: #775ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#211fa8",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 240.876,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36653,
    "c": 0.20539,
    "h": 270.7
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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