#211666#211666

#211666 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.131 H 279.8°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#211666
RGBrgb(33, 22, 102)
HSLhsl(248, 65%, 24%)
HSVhsv(248, 78%, 40%)
CMYKcmyk(67.6%, 78.4%, 0%, 60%)
CIE-LABlab(14.71, 30.92, -44.90)
CIE-LCHlch(14.71, 54.51, 304.55°)
OKLaboklab(27.83% 0.0223 -0.1296)
OKLCHoklch(27.83% 0.131 279.8)
XYZxyz(3.3116, 1.8562, 12.7516)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211666 #5B6616
analogous
#163366 #211666 #491666
triadic
#211666 #662116 #166621
tetradic
#211666 #661633 #5B6616 #166649
square
#211666 #661633 #5B6616 #166649
split-complementary
#211666 #664916 #336616
monochromatic
#080519 #110B34 #211666 #312198 #422CCB

Accessibility & contrast

On white

15.32
#211666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#211666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211666
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211666#FFFFFF#000000##FFFFFF
##2116661.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002868
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #211666;
/* rgb */ color: rgb(33, 22, 102);
/* oklch */ color: oklch(27.8% 0.131 279.8);
Tailwind
colors: {
  custom: {
    50: '#675593',
    500: '#211666',
    950: '#000000',
  },
}
SCSS
$custom: #211666;
$custom-light: #675593;
$custom-dark: #000000;
JSON
{
  "hex": "#211666",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 248.25,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27828,
    "c": 0.13149,
    "h": 279.8
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#211666
secondary
#8F9D3B
accent
#E840D1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #211666

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

Preview Lab → · Contrast checker → · Palette generator →

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