#211F80#211F80

#211F80 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.156 H 274.0°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#211F80
RGBrgb(33, 31, 128)
HSLhsl(241, 61%, 31%)
HSVhsv(241, 76%, 50%)
CMYKcmyk(74.2%, 75.8%, 0%, 49.8%)
CIE-LABlab(19.48, 34.57, -53.84)
CIE-LCHlch(19.48, 63.98, 302.70°)
OKLaboklab(32.06% 0.011 -0.1557)
OKLCHoklch(32.06% 0.156 274)
XYZxyz(5.0122, 2.8613, 20.7060)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F80 #7E801F
analogous
#1F4D80 #211F80 #511F80
triadic
#211F80 #80211F #1F8021
tetradic
#211F80 #801F4D #7E801F #1F8051
square
#211F80 #801F4D #7E801F #1F8051
split-complementary
#211F80 #80511F #4D801F
monochromatic
#08071D #14134F #211F80 #2E2BB1 #4A47D2

Accessibility & contrast

On white

13.36
#211F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#211F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F80
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F80#FFFFFF#000000##FFFFFF
##211F801.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #211f80;
/* rgb */ color: rgb(33, 31, 128);
/* oklch */ color: oklch(32.1% 0.156 274.0);
Tailwind
colors: {
  custom: {
    50: '#6c5ca6',
    500: '#211f80',
    950: '#000000',
  },
}
SCSS
$custom: #211f80;
$custom-light: #6c5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#211f80",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 241.237,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32059,
    "c": 0.1561,
    "h": 274
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#211F80
secondary
#B1B348
accent
#E444E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #211F80

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

Preview Lab → · Contrast checker → · Palette generator →

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