#211882#211882

#211882 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.166 H 274.8°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#211882
RGBrgb(33, 24, 130)
HSLhsl(245, 69%, 30%)
HSVhsv(245, 82%, 51%)
CMYKcmyk(74.6%, 81.5%, 0%, 49%)
CIE-LABlab(18.31, 39.23, -57.04)
CIE-LCHlch(18.31, 69.22, 304.52°)
OKLaboklab(31.3% 0.0139 -0.165)
OKLCHoklch(31.3% 0.166 274.8)
XYZxyz(4.9818, 2.5878, 21.3517)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211882 #798218
analogous
#184482 #211882 #561882
triadic
#211882 #822118 #188221
tetradic
#211882 #821844 #798218 #188256
square
#211882 #821844 #798218 #188256
split-complementary
#211882 #825618 #448218
monochromatic
#07051B #140E4E #211882 #2E22B6 #473ADB

Accessibility & contrast

On white

13.84
#211882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#211882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211882
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211882#FFFFFF#000000##FFFFFF
##2118821.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002880
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211882;
/* rgb */ color: rgb(33, 24, 130);
/* oklch */ color: oklch(31.3% 0.166 274.8);
Tailwind
colors: {
  custom: {
    50: '#6e58a8',
    500: '#211882',
    950: '#000000',
  },
}
SCSS
$custom: #211882;
$custom-light: #6e58a8;
$custom-dark: #000000;
JSON
{
  "hex": "#211882",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 245.094,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31303,
    "c": 0.16554,
    "h": 274.8
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#211882
secondary
#ACB640
accent
#EC3CDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211882

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

Preview Lab → · Contrast checker → · Palette generator →

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