#211D8F#211D8F

#211D8F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.177 H 272.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#211D8F
RGBrgb(33, 29, 143)
HSLhsl(242, 66%, 34%)
HSVhsv(242, 80%, 56%)
CMYKcmyk(76.9%, 79.7%, 0%, 43.9%)
CIE-LABlab(20.77, 40.85, -61.13)
CIE-LCHlch(20.77, 73.52, 303.76°)
OKLaboklab(33.47% 0.0087 -0.1769)
OKLCHoklch(33.47% 0.177 272.8)
XYZxyz(6.0228, 3.1846, 26.2785)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D8F #8B8F1D
analogous
#1D528F #211D8F #5A1D8F
triadic
#211D8F #8F211D #1D8F21
tetradic
#211D8F #8F1D52 #8B8F1D #1D8F5A
square
#211D8F #8F1D52 #8B8F1D #1D8F5A
split-complementary
#211D8F #8F5A1D #528F1D
monochromatic
#0A0829 #15135C #211D8F #2D27C2 #514CDB

Accessibility & contrast

On white

12.83
#211D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#211D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D8F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D8F#FFFFFF#000000##FFFFFF
##211D8F1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #211d8f;
/* rgb */ color: rgb(33, 29, 143);
/* oklch */ color: oklch(33.5% 0.177 272.8);
Tailwind
colors: {
  custom: {
    50: '#705bb1',
    500: '#211d8f',
    950: '#000000',
  },
}
SCSS
$custom: #211d8f;
$custom-light: #705bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#211d8f",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 242.105,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33469,
    "c": 0.1771,
    "h": 272.8
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#211D8F
secondary
#B9BD4B
accent
#E93FE3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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