#211887#211887

#211887 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.172 H 274.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#211887
RGBrgb(33, 24, 135)
HSLhsl(245, 70%, 31%)
HSVhsv(245, 82%, 53%)
CMYKcmyk(75.6%, 82.2%, 0%, 47.1%)
CIE-LABlab(18.91, 40.86, -59.20)
CIE-LCHlch(18.91, 71.94, 304.61°)
OKLaboklab(31.89% 0.0126 -0.1712)
OKLCHoklch(31.89% 0.172 274.2)
XYZxyz(5.3256, 2.7253, 23.1623)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211887 #7E8718
analogous
#184687 #211887 #581887
triadic
#211887 #872118 #188721
tetradic
#211887 #871846 #7E8718 #188758
square
#211887 #871846 #7E8718 #188758
split-complementary
#211887 #875818 #468718
monochromatic
#08061F #140F53 #211887 #2E21BB #4A3DDC

Accessibility & contrast

On white

13.59
#211887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#211887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211887
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211887#FFFFFF#000000##FFFFFF
##2118871.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338A
Deuteranopia (green-blind)
#002985
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211887;
/* rgb */ color: rgb(33, 24, 135);
/* oklch */ color: oklch(31.9% 0.172 274.2);
Tailwind
colors: {
  custom: {
    50: '#6f58ab',
    500: '#211887',
    950: '#000000',
  },
}
SCSS
$custom: #211887;
$custom-light: #6f58ab;
$custom-dark: #000000;
JSON
{
  "hex": "#211887",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 244.865,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31893,
    "c": 0.17169,
    "h": 274.2
  },
  "luminance": 0.02726
}

Semantic roles & 50–950 ramp

primary
#211887
secondary
#B1BB40
accent
#ED3BDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #211887

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

Preview Lab → · Contrast checker → · Palette generator →

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