#211D8C#211D8C

#211D8C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.173 H 273.1°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#211D8C
RGBrgb(33, 29, 140)
HSLhsl(242, 66%, 33%)
HSVhsv(242, 79%, 55%)
CMYKcmyk(76.4%, 79.3%, 0%, 45.1%)
CIE-LABlab(20.42, 39.85, -59.83)
CIE-LCHlch(20.42, 71.89, 303.66°)
OKLaboklab(33.12% 0.0094 -0.1731)
OKLCHoklch(33.12% 0.173 273.1)
XYZxyz(5.7986, 3.0949, 25.0976)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D8C #888C1D
analogous
#1D508C #211D8C #581D8C
triadic
#211D8C #8C211D #1D8C21
tetradic
#211D8C #8C1D50 #888C1D #1D8C58
square
#211D8C #8C1D50 #888C1D #1D8C58
split-complementary
#211D8C #8C581D #508C1D
monochromatic
#090827 #151259 #211D8C #2D28BF #4F4AD9

Accessibility & contrast

On white

12.97
#211D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#211D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D8C
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D8C#FFFFFF#000000##FFFFFF
##211D8C1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368F
Deuteranopia (green-blind)
#002C8A
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #211d8c;
/* rgb */ color: rgb(33, 29, 140);
/* oklch */ color: oklch(33.1% 0.173 273.1);
Tailwind
colors: {
  custom: {
    50: '#705baf',
    500: '#211d8c',
    950: '#000000',
  },
}
SCSS
$custom: #211d8c;
$custom-light: #705baf;
$custom-dark: #000000;
JSON
{
  "hex": "#211d8c",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 242.162,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33122,
    "c": 0.17339,
    "h": 273.1
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#211D8C
secondary
#B8BC49
accent
#E93FE3
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #211D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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