#211F76#211F76

#211F76 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.143 H 275.1°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#211F76
RGBrgb(33, 31, 118)
HSLhsl(241, 58%, 29%)
HSVhsv(241, 74%, 46%)
CMYKcmyk(72%, 73.7%, 0%, 53.7%)
CIE-LABlab(18.41, 31.01, -49.22)
CIE-LCHlch(18.41, 58.17, 302.21°)
OKLaboklab(30.98% 0.0128 -0.1422)
OKLCHoklch(30.98% 0.143 275.1)
XYZxyz(4.3861, 2.6109, 17.4088)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F76 #74761F
analogous
#1F4976 #211F76 #4D1F76
triadic
#211F76 #76211F #1F7621
tetradic
#211F76 #761F49 #74761F #1F764D
square
#211F76 #761F49 #74761F #1F764D
split-complementary
#211F76 #764D1F #49761F
monochromatic
#070618 #131246 #211F76 #2F2CA6 #4542CD

Accessibility & contrast

On white

13.80
#211F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#211F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F76
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F76#FFFFFF#000000##FFFFFF
##211F761.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211f76;
/* rgb */ color: rgb(33, 31, 118);
/* oklch */ color: oklch(31.0% 0.143 275.1);
Tailwind
colors: {
  custom: {
    50: '#6a5b9e',
    500: '#211f76',
    950: '#000000',
  },
}
SCSS
$custom: #211f76;
$custom-light: #6a5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#211f76",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 241.379,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30977,
    "c": 0.14281,
    "h": 275.1
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#211F76
secondary
#A7AA47
accent
#E246DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #211F76

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

Preview Lab → · Contrast checker → · Palette generator →

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