#211C8A#211C8A

#211C8A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.172 H 273.4°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#211C8A
RGBrgb(33, 28, 138)
HSLhsl(243, 66%, 33%)
HSVhsv(243, 80%, 54%)
CMYKcmyk(76.1%, 79.7%, 0%, 45.9%)
CIE-LABlab(20.00, 39.73, -59.28)
CIE-LCHlch(20.00, 71.37, 303.83°)
OKLaboklab(32.76% 0.0103 -0.1715)
OKLCHoklch(32.76% 0.172 273.4)
XYZxyz(5.6284, 2.9882, 24.3200)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C8A #858A1C
analogous
#1C4E8A #211C8A #581C8A
triadic
#211C8A #8A211C #1C8A21
tetradic
#211C8A #8A1C4E #858A1C #1C8A58
square
#211C8A #8A1C4E #858A1C #1C8A58
split-complementary
#211C8A #8A581C #4E8A1C
monochromatic
#090724 #151257 #211C8A #2D26BD #4D47DA

Accessibility & contrast

On white

13.14
#211C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211C8A
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C8A#FFFFFF#000000##FFFFFF
##211C8A1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #211c8a;
/* rgb */ color: rgb(33, 28, 138);
/* oklch */ color: oklch(32.8% 0.172 273.4);
Tailwind
colors: {
  custom: {
    50: '#6f5bad',
    500: '#211c8a',
    950: '#000000',
  },
}
SCSS
$custom: #211c8a;
$custom-light: #6f5bad;
$custom-dark: #000000;
JSON
{
  "hex": "#211c8a",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 242.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32757,
    "c": 0.17184,
    "h": 273.4
  },
  "luminance": 0.02989
}

Semantic roles & 50–950 ramp

primary
#211C8A
secondary
#B6BB46
accent
#E93FE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #211C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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