#211982#211982

#211982 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.165 H 274.7°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#211982
RGBrgb(33, 25, 130)
HSLhsl(245, 68%, 30%)
HSVhsv(245, 81%, 51%)
CMYKcmyk(74.6%, 80.8%, 0%, 49%)
CIE-LABlab(18.50, 38.69, -56.73)
CIE-LCHlch(18.50, 68.67, 304.30°)
OKLaboklab(31.43% 0.0135 -0.1641)
OKLCHoklch(31.43% 0.165 274.7)
XYZxyz(5.0028, 2.6298, 21.3587)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211982 #7A8219
analogous
#194682 #211982 #551982
triadic
#211982 #822119 #198221
tetradic
#211982 #821946 #7A8219 #198255
square
#211982 #821946 #7A8219 #198255
split-complementary
#211982 #825519 #468219
monochromatic
#07051B #140F4F #211982 #2E23B5 #483CD9

Accessibility & contrast

On white

13.76
#211982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211982
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211982#FFFFFF#000000##FFFFFF
##2119821.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211982;
/* rgb */ color: rgb(33, 25, 130);
/* oklch */ color: oklch(31.4% 0.165 274.7);
Tailwind
colors: {
  custom: {
    50: '#6d58a7',
    500: '#211982',
    950: '#000000',
  },
}
SCSS
$custom: #211982;
$custom-light: #6d58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#211982",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 244.571,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31432,
    "c": 0.16462,
    "h": 274.7
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#211982
secondary
#ADB641
accent
#EB3DDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211982

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

Preview Lab → · Contrast checker → · Palette generator →

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