#211F71#211F71

#211F71 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.136 H 275.7°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#211F71
RGBrgb(33, 31, 113)
HSLhsl(241, 57%, 28%)
HSVhsv(241, 73%, 44%)
CMYKcmyk(70.8%, 72.6%, 0%, 55.7%)
CIE-LABlab(17.90, 29.20, -46.84)
CIE-LCHlch(17.90, 55.20, 301.94°)
OKLaboklab(30.45% 0.0136 -0.1353)
OKLCHoklch(30.45% 0.136 275.7)
XYZxyz(4.0968, 2.4952, 15.8853)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F71 #6F711F
analogous
#1F4671 #211F71 #4A1F71
triadic
#211F71 #71211F #1F7121
tetradic
#211F71 #711F46 #6F711F #1F714A
square
#211F71 #711F46 #6F711F #1F714A
split-complementary
#211F71 #714A1F #46711F
monochromatic
#070718 #131241 #211F71 #2F2CA1 #4340CB

Accessibility & contrast

On white

14.01
#211F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211F71
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F71#FFFFFF#000000##FFFFFF
##211F711.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #211f71;
/* rgb */ color: rgb(33, 31, 113);
/* oklch */ color: oklch(30.4% 0.136 275.7);
Tailwind
colors: {
  custom: {
    50: '#695b9b',
    500: '#211f71',
    950: '#000000',
  },
}
SCSS
$custom: #211f71;
$custom-light: #695b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#211f71",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 241.463,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3045,
    "c": 0.13599,
    "h": 275.7
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#211F71
secondary
#A3A547
accent
#E048DC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #211F71

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

Preview Lab → · Contrast checker → · Palette generator →

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