#211381#211381

#211381 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.168 H 275.5°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#211381
RGBrgb(33, 19, 129)
HSLhsl(248, 74%, 29%)
HSVhsv(248, 85%, 51%)
CMYKcmyk(74.4%, 85.3%, 0%, 49.4%)
CIE-LABlab(17.34, 41.39, -58.02)
CIE-LCHlch(17.34, 71.27, 305.51°)
OKLaboklab(30.59% 0.0162 -0.1677)
OKLCHoklch(30.59% 0.168 275.5)
XYZxyz(4.8212, 2.3736, 20.9687)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211381 #738113
analogous
#133C81 #211381 #581381
triadic
#211381 #812113 #138121
tetradic
#211381 #81133C #738113 #138158
square
#211381 #81133C #738113 #138158
split-complementary
#211381 #815813 #3C8113
monochromatic
#07041B #130B4C #211381 #2F1BB6 #452EE0

Accessibility & contrast

On white

14.24
#211381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#211381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211381
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211381#FFFFFF#000000##FFFFFF
##2113811.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211381;
/* rgb */ color: rgb(33, 19, 129);
/* oklch */ color: oklch(30.6% 0.168 275.5);
Tailwind
colors: {
  custom: {
    50: '#6e55a7',
    500: '#211381',
    950: '#000000',
  },
}
SCSS
$custom: #211381;
$custom-light: #6e55a7;
$custom-dark: #000000;
JSON
{
  "hex": "#211381",
  "rgb": {
    "r": 33,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 247.636,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30592,
    "c": 0.16849,
    "h": 275.5
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#211381
secondary
#A6B63A
accent
#F137D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211381

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

Preview Lab → · Contrast checker → · Palette generator →

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