#211F72#211F72

#211F72 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.137 H 275.6°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#211F72
RGBrgb(33, 31, 114)
HSLhsl(241, 57%, 28%)
HSVhsv(241, 73%, 45%)
CMYKcmyk(71.1%, 72.8%, 0%, 55.3%)
CIE-LABlab(18.00, 29.57, -47.32)
CIE-LCHlch(18.00, 55.80, 302.00°)
OKLaboklab(30.55% 0.0134 -0.1367)
OKLCHoklch(30.55% 0.137 275.6)
XYZxyz(4.1534, 2.5178, 16.1834)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F72 #70721F
analogous
#1F4672 #211F72 #4A1F72
triadic
#211F72 #72211F #1F7221
tetradic
#211F72 #721F46 #70721F #1F724A
square
#211F72 #721F46 #70721F #1F724A
split-complementary
#211F72 #724A1F #46721F
monochromatic
#070718 #131242 #211F72 #2F2CA2 #4440CB

Accessibility & contrast

On white

13.97
#211F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#211F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F72
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F72#FFFFFF#000000##FFFFFF
##211F721.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #211f72;
/* rgb */ color: rgb(33, 31, 114);
/* oklch */ color: oklch(30.6% 0.137 275.6);
Tailwind
colors: {
  custom: {
    50: '#695b9b',
    500: '#211f72',
    950: '#000000',
  },
}
SCSS
$custom: #211f72;
$custom-light: #695b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#211f72",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 241.446,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30554,
    "c": 0.13736,
    "h": 275.6
  },
  "luminance": 0.02518
}

Semantic roles & 50–950 ramp

primary
#211F72
secondary
#A4A647
accent
#E047DD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #211F72

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

Preview Lab → · Contrast checker → · Palette generator →

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