#211766#211766

#211766 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.130 H 279.5°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#211766
RGBrgb(33, 23, 102)
HSLhsl(248, 63%, 25%)
HSVhsv(248, 77%, 40%)
CMYKcmyk(67.6%, 77.5%, 0%, 60%)
CIE-LABlab(14.93, 30.32, -44.54)
CIE-LCHlch(14.93, 53.88, 304.24°)
OKLaboklab(27.98% 0.0216 -0.1286)
OKLCHoklch(27.98% 0.13 279.5)
XYZxyz(3.3311, 1.8952, 12.7581)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211766 #5C6617
analogous
#173566 #211766 #491766
triadic
#211766 #662117 #176621
tetradic
#211766 #661735 #5C6617 #176649
square
#211766 #661735 #5C6617 #176649
split-complementary
#211766 #664917 #356617
monochromatic
#080619 #110C34 #211766 #312298 #412ECA

Accessibility & contrast

On white

15.23
#211766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#211766 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211766
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211766#FFFFFF#000000##FFFFFF
##2117661.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211766;
/* rgb */ color: rgb(33, 23, 102);
/* oklch */ color: oklch(28.0% 0.130 279.5);
Tailwind
colors: {
  custom: {
    50: '#675593',
    500: '#211766',
    950: '#000000',
  },
}
SCSS
$custom: #211766;
$custom-light: #675593;
$custom-dark: #000000;
JSON
{
  "hex": "#211766",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 247.595,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27979,
    "c": 0.13036,
    "h": 279.5
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#211766
secondary
#909C3C
accent
#E642D1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #211766

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

Preview Lab → · Contrast checker → · Palette generator →

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