#211C8C#211C8C

#211C8C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.174 H 273.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#211C8C
RGBrgb(33, 28, 140)
HSLhsl(243, 67%, 33%)
HSVhsv(243, 80%, 55%)
CMYKcmyk(76.4%, 80%, 0%, 45.1%)
CIE-LABlab(20.23, 40.40, -60.15)
CIE-LCHlch(20.23, 72.46, 303.89°)
OKLaboklab(32.99% 0.0098 -0.174)
OKLCHoklch(32.99% 0.174 273.2)
XYZxyz(5.7745, 3.0467, 25.0896)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C8C #878C1C
analogous
#1C4F8C #211C8C #591C8C
triadic
#211C8C #8C211C #1C8C21
tetradic
#211C8C #8C1C4F #878C1C #1C8C59
square
#211C8C #8C1C4F #878C1C #1C8C59
split-complementary
#211C8C #8C591C #4F8C1C
monochromatic
#090826 #151259 #211C8C #2D26BF #4F48DA

Accessibility & contrast

On white

13.05
#211C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#211C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C8C
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C8C#FFFFFF#000000##FFFFFF
##211C8C1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211c8c;
/* rgb */ color: rgb(33, 28, 140);
/* oklch */ color: oklch(33.0% 0.174 273.2);
Tailwind
colors: {
  custom: {
    50: '#705baf',
    500: '#211c8c',
    950: '#000000',
  },
}
SCSS
$custom: #211c8c;
$custom-light: #705baf;
$custom-dark: #000000;
JSON
{
  "hex": "#211c8c",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 242.679,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32989,
    "c": 0.17432,
    "h": 273.2
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#211C8C
secondary
#B7BC48
accent
#EA3EE2
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #211C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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