#211687#211687

#211687 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.173 H 274.4°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#211687
RGBrgb(33, 22, 135)
HSLhsl(246, 72%, 31%)
HSVhsv(246, 84%, 53%)
CMYKcmyk(75.6%, 83.7%, 0%, 47.1%)
CIE-LABlab(18.57, 41.86, -59.77)
CIE-LCHlch(18.57, 72.97, 305.00°)
OKLaboklab(31.66% 0.0133 -0.1728)
OKLCHoklch(31.66% 0.173 274.4)
XYZxyz(5.2858, 2.6459, 23.1491)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211687 #7C8716
analogous
#164387 #211687 #591687
triadic
#211687 #872116 #168721
tetradic
#211687 #871643 #7C8716 #168759
square
#211687 #871643 #7C8716 #168759
split-complementary
#211687 #875916 #438716
monochromatic
#07051E #140D52 #211687 #2E1FBC #4939DF

Accessibility & contrast

On white

13.73
#211687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#211687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211687
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211687#FFFFFF#000000##FFFFFF
##2116871.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211687;
/* rgb */ color: rgb(33, 22, 135);
/* oklch */ color: oklch(31.7% 0.173 274.4);
Tailwind
colors: {
  custom: {
    50: '#6f57ab',
    500: '#211687',
    950: '#000000',
  },
}
SCSS
$custom: #211687;
$custom-light: #6f57ab;
$custom-dark: #000000;
JSON
{
  "hex": "#211687",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 245.841,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31655,
    "c": 0.17336,
    "h": 274.4
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211687

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

Preview Lab → · Contrast checker → · Palette generator →

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