#211768#211768

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

Color values

HEX#211768
RGBrgb(33, 23, 104)
HSLhsl(247, 64%, 25%)
HSVhsv(247, 78%, 41%)
CMYKcmyk(68.3%, 77.9%, 0%, 59.2%)
CIE-LABlab(15.14, 31.01, -45.50)
CIE-LCHlch(15.14, 55.07, 304.28°)
OKLaboklab(28.2% 0.0211 -0.1314)
OKLCHoklch(28.2% 0.133 279.1)
XYZxyz(3.4315, 1.9353, 13.2867)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211768 #5E6817
analogous
#173668 #211768 #491768
triadic
#211768 #682117 #176821
tetradic
#211768 #681736 #5E6817 #176849
square
#211768 #681736 #5E6817 #176849
split-complementary
#211768 #684917 #366817
monochromatic
#080619 #110C36 #211768 #31229A #412DCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##211768#FFFFFF#000000##FFFFFF
##2117681.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)
#00296A
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211768;
/* rgb */ color: rgb(33, 23, 104);
/* oklch */ color: oklch(28.2% 0.133 279.1);
Tailwind
colors: {
  custom: {
    50: '#675694',
    500: '#211768',
    950: '#000000',
  },
}
SCSS
$custom: #211768;
$custom-light: #675694;
$custom-dark: #000000;
JSON
{
  "hex": "#211768",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 247.407,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28198,
    "c": 0.13305,
    "h": 279.1
  },
  "luminance": 0.01936
}

Semantic roles & 50–950 ramp

primary
#211768
secondary
#929E3D
accent
#E741D2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #211768

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

Preview Lab → · Contrast checker → · Palette generator →

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