#211D71#211D71

#211D71 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.138 H 276.2°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#211D71
RGBrgb(33, 29, 113)
HSLhsl(243, 59%, 28%)
HSVhsv(243, 74%, 44%)
CMYKcmyk(70.8%, 74.3%, 0%, 55.7%)
CIE-LABlab(17.43, 30.48, -47.61)
CIE-LCHlch(17.43, 56.53, 302.63°)
OKLaboklab(30.12% 0.015 -0.1375)
OKLCHoklch(30.12% 0.138 276.2)
XYZxyz(4.0462, 2.3940, 15.8684)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D71 #6D711D
analogous
#1D4371 #211D71 #4B1D71
triadic
#211D71 #71211D #1D7121
tetradic
#211D71 #711D43 #6D711D #1D714B
square
#211D71 #711D43 #6D711D #1D714B
split-complementary
#211D71 #714B1D #43711D
monochromatic
#070618 #131140 #211D71 #2F29A2 #423CCD

Accessibility & contrast

On white

14.20
#211D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#211D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D71
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D71#FFFFFF#000000##FFFFFF
##211D711.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#00276F
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #211d71;
/* rgb */ color: rgb(33, 29, 113);
/* oklch */ color: oklch(30.1% 0.138 276.2);
Tailwind
colors: {
  custom: {
    50: '#695a9b',
    500: '#211d71',
    950: '#000000',
  },
}
SCSS
$custom: #211d71;
$custom-light: #695a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#211d71",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 242.857,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30116,
    "c": 0.13835,
    "h": 276.2
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#211D71
secondary
#A1A544
accent
#E245DB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #211D71

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

Preview Lab → · Contrast checker → · Palette generator →

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