#211F78#211F78

#211F78 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.146 H 274.9°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#211F78
RGBrgb(33, 31, 120)
HSLhsl(241, 59%, 30%)
HSVhsv(241, 74%, 47%)
CMYKcmyk(72.5%, 74.2%, 0%, 52.9%)
CIE-LABlab(18.62, 31.73, -50.16)
CIE-LCHlch(18.62, 59.35, 302.32°)
OKLaboklab(31.19% 0.0124 -0.145)
OKLCHoklch(31.19% 0.146 274.9)
XYZxyz(4.5062, 2.6589, 18.0414)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F78 #76781F
analogous
#1F4A78 #211F78 #4D1F78
triadic
#211F78 #78211F #1F7821
tetradic
#211F78 #781F4A #76781F #1F784D
square
#211F78 #781F4A #76781F #1F784D
split-complementary
#211F78 #784D1F #4A781F
monochromatic
#070618 #141247 #211F78 #2E2CA9 #4643CE

Accessibility & contrast

On white

13.71
#211F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211F78
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F78#FFFFFF#000000##FFFFFF
##211F781.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211f78;
/* rgb */ color: rgb(33, 31, 120);
/* oklch */ color: oklch(31.2% 0.146 274.9);
Tailwind
colors: {
  custom: {
    50: '#6a5ba0',
    500: '#211f78',
    950: '#000000',
  },
}
SCSS
$custom: #211f78;
$custom-light: #6a5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#211f78",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 241.348,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3119,
    "c": 0.14551,
    "h": 274.9
  },
  "luminance": 0.02659
}

Semantic roles & 50–950 ramp

primary
#211F78
secondary
#A9AB47
accent
#E246DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #211F78

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

Preview Lab → · Contrast checker → · Palette generator →

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