#211D95#211D95

#211D95 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.184 H 272.3°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#211D95
RGBrgb(33, 29, 149)
HSLhsl(242, 67%, 35%)
HSVhsv(242, 81%, 58%)
CMYKcmyk(77.9%, 80.5%, 0%, 41.6%)
CIE-LABlab(21.47, 42.84, -63.68)
CIE-LCHlch(21.47, 76.75, 303.93°)
OKLaboklab(34.17% 0.0073 -0.1843)
OKLCHoklch(34.17% 0.184 272.3)
XYZxyz(6.4896, 3.3713, 28.7366)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D95 #91951D
analogous
#1D5595 #211D95 #5D1D95
triadic
#211D95 #95211D #1D9521
tetradic
#211D95 #951D55 #91951D #1D955D
square
#211D95 #951D55 #91951D #1D955D
split-complementary
#211D95 #955D1D #55951D
monochromatic
#0A092F #161362 #211D95 #2C27C8 #5450DD

Accessibility & contrast

On white

12.54
#211D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#211D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D95
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D95#FFFFFF#000000##FFFFFF
##211D951.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003998
Deuteranopia (green-blind)
#002D93
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #211d95;
/* rgb */ color: rgb(33, 29, 149);
/* oklch */ color: oklch(34.2% 0.184 272.3);
Tailwind
colors: {
  custom: {
    50: '#725cb5',
    500: '#211d95',
    950: '#000000',
  },
}
SCSS
$custom: #211d95;
$custom-light: #725cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#211d95",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 242,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34168,
    "c": 0.18445,
    "h": 272.3
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#211D95
secondary
#BCC04E
accent
#EA3DE5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211D95

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

Preview Lab → · Contrast checker → · Palette generator →

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