#211767#211767

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

Color values

HEX#211767
RGBrgb(33, 23, 103)
HSLhsl(248, 63%, 25%)
HSVhsv(248, 78%, 40%)
CMYKcmyk(68%, 77.7%, 0%, 59.6%)
CIE-LABlab(15.04, 30.67, -45.03)
CIE-LCHlch(15.04, 54.48, 304.26°)
OKLaboklab(28.09% 0.0214 -0.13)
OKLCHoklch(28.09% 0.132 279.3)
XYZxyz(3.3810, 1.9151, 13.0208)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211767 #5D6717
analogous
#173567 #211767 #491767
triadic
#211767 #672117 #176721
tetradic
#211767 #671735 #5D6717 #176749
square
#211767 #671735 #5D6717 #176749
split-complementary
#211767 #674917 #356717
monochromatic
#080619 #110C35 #211767 #312299 #412DCB

Accessibility & contrast

On white

15.18
#211767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211767
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211767#FFFFFF#000000##FFFFFF
##2117671.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211767;
/* rgb */ color: rgb(33, 23, 103);
/* oklch */ color: oklch(28.1% 0.132 279.3);
Tailwind
colors: {
  custom: {
    50: '#675593',
    500: '#211767',
    950: '#000000',
  },
}
SCSS
$custom: #211767;
$custom-light: #675593;
$custom-dark: #000000;
JSON
{
  "hex": "#211767",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 247.5,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28088,
    "c": 0.13171,
    "h": 279.3
  },
  "luminance": 0.01915
}

Semantic roles & 50–950 ramp

primary
#211767
secondary
#919D3D
accent
#E741D2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #211767

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

Preview Lab → · Contrast checker → · Palette generator →

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