#211F77#211F77

#211F77 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.144 H 275.0°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#211F77
RGBrgb(33, 31, 119)
HSLhsl(241, 59%, 29%)
HSVhsv(241, 74%, 47%)
CMYKcmyk(72.3%, 73.9%, 0%, 53.3%)
CIE-LABlab(18.52, 31.37, -49.69)
CIE-LCHlch(18.52, 58.76, 302.27°)
OKLaboklab(31.08% 0.0126 -0.1436)
OKLCHoklch(31.08% 0.144 275)
XYZxyz(4.4459, 2.6348, 17.7235)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F77 #75771F
analogous
#1F4977 #211F77 #4D1F77
triadic
#211F77 #77211F #1F7721
tetradic
#211F77 #771F49 #75771F #1F774D
square
#211F77 #771F49 #75771F #1F774D
split-complementary
#211F77 #774D1F #49771F
monochromatic
#070618 #141246 #211F77 #2E2CA8 #4643CE

Accessibility & contrast

On white

13.75
#211F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#211F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F77
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F77#FFFFFF#000000##FFFFFF
##211F771.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002975
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211f77;
/* rgb */ color: rgb(33, 31, 119);
/* oklch */ color: oklch(31.1% 0.144 275.0);
Tailwind
colors: {
  custom: {
    50: '#6a5b9f',
    500: '#211f77',
    950: '#000000',
  },
}
SCSS
$custom: #211f77;
$custom-light: #6a5b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#211f77",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 241.364,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31083,
    "c": 0.14416,
    "h": 275
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#211F77
secondary
#A8AB47
accent
#E246DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #211F77

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

Preview Lab → · Contrast checker → · Palette generator →

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