#211181#211181

#211181 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.4% C 0.170 H 275.7°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#211181
RGBrgb(33, 17, 129)
HSLhsl(249, 77%, 29%)
HSVhsv(249, 87%, 51%)
CMYKcmyk(74.4%, 86.8%, 0%, 49.4%)
CIE-LABlab(17.03, 42.30, -58.53)
CIE-LCHlch(17.03, 72.21, 305.86°)
OKLaboklab(30.38% 0.0169 -0.1691)
OKLCHoklch(30.38% 0.17 275.7)
XYZxyz(4.7888, 2.3087, 20.9579)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211181 #718111
analogous
#113981 #211181 #591181
triadic
#211181 #812111 #118121
tetradic
#211181 #811139 #718111 #118159
square
#211181 #811139 #718111 #118159
split-complementary
#211181 #815911 #398111
monochromatic
#07041B #130A4B #211181 #2F18B7 #442AE3

Accessibility & contrast

On white

14.37
#211181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#211181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211181
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211181#FFFFFF#000000##FFFFFF
##2111811.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00257F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211181;
/* rgb */ color: rgb(33, 17, 129);
/* oklch */ color: oklch(30.4% 0.170 275.7);
Tailwind
colors: {
  custom: {
    50: '#6e54a7',
    500: '#211181',
    950: '#000000',
  },
}
SCSS
$custom: #211181;
$custom-light: #6e54a7;
$custom-dark: #000000;
JSON
{
  "hex": "#211181",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 129
  },
  "hsl": {
    "h": 248.571,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30381,
    "c": 0.16999,
    "h": 275.7
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#211181
secondary
#A5B737
accent
#F335D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211181

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

Preview Lab → · Contrast checker → · Palette generator →

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