#211C9C#211C9C

#211C9C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.194 H 271.8°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#211C9C
RGBrgb(33, 28, 156)
HSLhsl(242, 70%, 36%)
HSVhsv(242, 82%, 61%)
CMYKcmyk(78.8%, 82.1%, 0%, 38.8%)
CIE-LABlab(22.14, 45.61, -66.89)
CIE-LCHlch(22.14, 80.96, 304.29°)
OKLaboklab(34.87% 0.006 -0.1936)
OKLCHoklch(34.87% 0.194 271.8)
XYZxyz(7.0412, 3.5534, 31.7608)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C9C #979C1C
analogous
#1C579C #211C9C #611C9C
triadic
#211C9C #9C211C #1C9C21
tetradic
#211C9C #9C1C57 #979C1C #1C9C61
square
#211C9C #9C1C57 #979C1C #1C9C61
split-complementary
#211C9C #9C611C #579C1C
monochromatic
#0B0934 #161368 #211C9C #2C25D0 #5852E0

Accessibility & contrast

On white

12.27
#211C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#211C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C9C
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C9C#FFFFFF#000000##FFFFFF
##211C9C1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA0
Deuteranopia (green-blind)
#002E9A
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #211c9c;
/* rgb */ color: rgb(33, 28, 156);
/* oklch */ color: oklch(34.9% 0.194 271.8);
Tailwind
colors: {
  custom: {
    50: '#745cbb',
    500: '#211c9c',
    950: '#000000',
  },
}
SCSS
$custom: #211c9c;
$custom-light: #745cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#211c9c",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 156
  },
  "hsl": {
    "h": 242.344,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34873,
    "c": 0.19367,
    "h": 271.8
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#211C9C
secondary
#BEC351
accent
#EC3BE5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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