#211C8B#211C8B

#211C8B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.173 H 273.3°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#211C8B
RGBrgb(33, 28, 139)
HSLhsl(243, 66%, 33%)
HSVhsv(243, 80%, 55%)
CMYKcmyk(76.3%, 79.9%, 0%, 45.5%)
CIE-LABlab(20.11, 40.06, -59.72)
CIE-LCHlch(20.11, 71.91, 303.86°)
OKLaboklab(32.87% 0.01 -0.1728)
OKLCHoklch(32.87% 0.173 273.3)
XYZxyz(5.7011, 3.0173, 24.7030)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C8B #868B1C
analogous
#1C4E8B #211C8B #591C8B
triadic
#211C8B #8B211C #1C8B21
tetradic
#211C8B #8B1C4E #868B1C #1C8B59
square
#211C8B #8B1C4E #868B1C #1C8B59
split-complementary
#211C8B #8B591C #4E8B1C
monochromatic
#090725 #151258 #211C8B #2D26BE #4E47DA

Accessibility & contrast

On white

13.10
#211C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#211C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C8B
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C8B#FFFFFF#000000##FFFFFF
##211C8B1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368E
Deuteranopia (green-blind)
#002B89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #211c8b;
/* rgb */ color: rgb(33, 28, 139);
/* oklch */ color: oklch(32.9% 0.173 273.3);
Tailwind
colors: {
  custom: {
    50: '#6f5bae',
    500: '#211c8b',
    950: '#000000',
  },
}
SCSS
$custom: #211c8b;
$custom-light: #6f5bae;
$custom-dark: #000000;
JSON
{
  "hex": "#211c8b",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 242.703,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32873,
    "c": 0.17307,
    "h": 273.3
  },
  "luminance": 0.03018
}

Semantic roles & 50–950 ramp

primary
#211C8B
secondary
#B7BC47
accent
#E93EE2
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #211C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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