#211981#211981

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

Color values

HEX#211981
RGBrgb(33, 25, 129)
HSLhsl(245, 68%, 30%)
HSVhsv(245, 81%, 51%)
CMYKcmyk(74.4%, 80.6%, 0%, 49.4%)
CIE-LABlab(18.38, 38.36, -56.29)
CIE-LCHlch(18.38, 68.12, 304.27°)
OKLaboklab(31.32% 0.0137 -0.1628)
OKLCHoklch(31.32% 0.163 274.8)
XYZxyz(4.9360, 2.6031, 21.0069)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211981 #798119
analogous
#194581 #211981 #551981
triadic
#211981 #812119 #198121
tetradic
#211981 #811945 #798119 #198155
square
#211981 #811945 #798119 #198155
split-complementary
#211981 #815519 #458119
monochromatic
#07051A #140F4E #211981 #2E23B4 #473BD9

Accessibility & contrast

On white

13.81
#211981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211981
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211981#FFFFFF#000000##FFFFFF
##2119811.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#00287F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211981;
/* rgb */ color: rgb(33, 25, 129);
/* oklch */ color: oklch(31.3% 0.163 274.8);
Tailwind
colors: {
  custom: {
    50: '#6d58a7',
    500: '#211981',
    950: '#000000',
  },
}
SCSS
$custom: #211981;
$custom-light: #6d58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#211981",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 244.615,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31315,
    "c": 0.16338,
    "h": 274.8
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#211981
secondary
#ACB541
accent
#EA3DDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211981

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

Preview Lab → · Contrast checker → · Palette generator →

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