#211C9F#211C9F

#211C9F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.197 H 271.5°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#211C9F
RGBrgb(33, 28, 159)
HSLhsl(242, 70%, 37%)
HSVhsv(242, 82%, 62%)
CMYKcmyk(79.2%, 82.4%, 0%, 37.6%)
CIE-LABlab(22.50, 46.57, -68.12)
CIE-LCHlch(22.50, 82.52, 304.36°)
OKLaboklab(35.23% 0.0053 -0.1971)
OKLCHoklch(35.23% 0.197 271.5)
XYZxyz(7.2984, 3.6562, 33.1152)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C9F #9A9F1C
analogous
#1C599F #211C9F #631C9F
triadic
#211C9F #9F211C #1C9F21
tetradic
#211C9F #9F1C59 #9A9F1C #1C9F63
square
#211C9F #9F1C59 #9A9F1C #1C9F63
split-complementary
#211C9F #9F631C #599F1C
monochromatic
#0B0A37 #16136B #211C9F #2C25D3 #5A54E1

Accessibility & contrast

On white

12.13
#211C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#211C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C9F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C9F#FFFFFF#000000##FFFFFF
##211C9F1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #211c9f;
/* rgb */ color: rgb(33, 28, 159);
/* oklch */ color: oklch(35.2% 0.197 271.5);
Tailwind
colors: {
  custom: {
    50: '#755cbd',
    500: '#211c9f',
    950: '#000000',
  },
}
SCSS
$custom: #211c9f;
$custom-light: #755cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#211c9f",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 242.29,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35231,
    "c": 0.19721,
    "h": 271.5
  },
  "luminance": 0.03657
}

Semantic roles & 50–950 ramp

primary
#211C9F
secondary
#C0C453
accent
#ED3BE6
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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