#211983#211983

#211983 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.166 H 274.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#211983
RGBrgb(33, 25, 131)
HSLhsl(245, 68%, 31%)
HSVhsv(245, 81%, 51%)
CMYKcmyk(74.8%, 80.9%, 0%, 48.6%)
CIE-LABlab(18.61, 39.02, -57.17)
CIE-LCHlch(18.61, 69.22, 304.32°)
OKLaboklab(31.55% 0.0132 -0.1653)
OKLCHoklch(31.55% 0.166 274.6)
XYZxyz(5.0702, 2.6568, 21.7139)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211983 #7B8319
analogous
#194683 #211983 #561983
triadic
#211983 #832119 #198321
tetradic
#211983 #831946 #7B8319 #198356
square
#211983 #831946 #7B8319 #198356
split-complementary
#211983 #835619 #468319
monochromatic
#07051C #140F50 #211983 #2E23B6 #483DDA

Accessibility & contrast

On white

13.71
#211983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211983
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211983#FFFFFF#000000##FFFFFF
##2119831.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211983;
/* rgb */ color: rgb(33, 25, 131);
/* oklch */ color: oklch(31.5% 0.166 274.6);
Tailwind
colors: {
  custom: {
    50: '#6e58a8',
    500: '#211983',
    950: '#000000',
  },
}
SCSS
$custom: #211983;
$custom-light: #6e58a8;
$custom-dark: #000000;
JSON
{
  "hex": "#211983",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 244.528,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31548,
    "c": 0.16588,
    "h": 274.6
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#211983
secondary
#AEB741
accent
#EB3DDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211983

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

Preview Lab → · Contrast checker → · Palette generator →

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