#211688#211688

#211688 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.175 H 274.3°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#211688
RGBrgb(33, 22, 136)
HSLhsl(246, 72%, 31%)
HSVhsv(246, 84%, 53%)
CMYKcmyk(75.7%, 83.8%, 0%, 46.7%)
CIE-LABlab(18.69, 42.18, -60.20)
CIE-LCHlch(18.69, 73.50, 305.02°)
OKLaboklab(31.78% 0.0131 -0.1741)
OKLCHoklch(31.78% 0.175 274.3)
XYZxyz(5.3566, 2.6742, 23.5216)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211688 #7D8816
analogous
#164488 #211688 #5A1688
triadic
#211688 #882116 #168821
tetradic
#211688 #881644 #7D8816 #16885A
square
#211688 #881644 #7D8816 #16885A
split-complementary
#211688 #885A16 #448816
monochromatic
#07051F #140D53 #211688 #2E1FBD #4939DF

Accessibility & contrast

On white

13.68
#211688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#211688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211688
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211688#FFFFFF#000000##FFFFFF
##2116881.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328B
Deuteranopia (green-blind)
#002886
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211688;
/* rgb */ color: rgb(33, 22, 136);
/* oklch */ color: oklch(31.8% 0.175 274.3);
Tailwind
colors: {
  custom: {
    50: '#6f57ac',
    500: '#211688',
    950: '#000000',
  },
}
SCSS
$custom: #211688;
$custom-light: #6f57ac;
$custom-dark: #000000;
JSON
{
  "hex": "#211688",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 136
  },
  "hsl": {
    "h": 245.789,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31776,
    "c": 0.17457,
    "h": 274.3
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#211688
secondary
#B0BC3E
accent
#EF39DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #211688

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

Preview Lab → · Contrast checker → · Palette generator →

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