#211866#211866

#211866 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.129 H 279.3°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#211866
RGBrgb(33, 24, 102)
HSLhsl(247, 62%, 25%)
HSVhsv(247, 76%, 40%)
CMYKcmyk(67.6%, 76.5%, 0%, 60%)
CIE-LABlab(15.15, 29.71, -44.19)
CIE-LCHlch(15.15, 53.24, 303.92°)
OKLaboklab(28.13% 0.0209 -0.1275)
OKLCHoklch(28.13% 0.129 279.3)
XYZxyz(3.3513, 1.9356, 12.7648)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211866 #5D6618
analogous
#183666 #211866 #481866
triadic
#211866 #662118 #186621
tetradic
#211866 #661836 #5D6618 #186648
square
#211866 #661836 #5D6618 #186648
split-complementary
#211866 #664818 #366618
monochromatic
#080619 #110C34 #211866 #312498 #412FC9

Accessibility & contrast

On white

15.14
#211866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#211866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211866
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211866#FFFFFF#000000##FFFFFF
##2118661.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002365
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211866;
/* rgb */ color: rgb(33, 24, 102);
/* oklch */ color: oklch(28.1% 0.129 279.3);
Tailwind
colors: {
  custom: {
    50: '#675693',
    500: '#211866',
    950: '#000000',
  },
}
SCSS
$custom: #211866;
$custom-light: #675693;
$custom-dark: #000000;
JSON
{
  "hex": "#211866",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 246.923,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28134,
    "c": 0.12921,
    "h": 279.3
  },
  "luminance": 0.01936
}

Semantic roles & 50–950 ramp

primary
#211866
secondary
#919C3E
accent
#E543D2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #211866

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

Preview Lab → · Contrast checker → · Palette generator →

#211866 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva