#211994#211994

#211994 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.187 H 272.7°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#211994
RGBrgb(33, 25, 148)
HSLhsl(244, 71%, 34%)
HSVhsv(244, 83%, 58%)
CMYKcmyk(77.7%, 83.1%, 0%, 42%)
CIE-LABlab(20.66, 44.54, -64.41)
CIE-LCHlch(20.66, 78.31, 304.66°)
OKLaboklab(33.57% 0.0089 -0.1864)
OKLCHoklch(33.57% 0.187 272.7)
XYZxyz(6.3183, 3.1560, 28.2874)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211994 #8C9419
analogous
#194F94 #211994 #5F1994
triadic
#211994 #942119 #199421
tetradic
#211994 #94194F #8C9419 #19945F
square
#211994 #94194F #8C9419 #19945F
split-complementary
#211994 #945F19 #4F9419
monochromatic
#0A072B #151060 #211994 #2D22C8 #5147E0

Accessibility & contrast

On white

12.87
#211994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#211994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211994
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211994#FFFFFF#000000##FFFFFF
##2119941.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003797
Deuteranopia (green-blind)
#002C92
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #211994;
/* rgb */ color: rgb(33, 25, 148);
/* oklch */ color: oklch(33.6% 0.187 272.7);
Tailwind
colors: {
  custom: {
    50: '#725ab5',
    500: '#211994',
    950: '#000000',
  },
}
SCSS
$custom: #211994;
$custom-light: #725ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#211994",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 243.902,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33565,
    "c": 0.18657,
    "h": 272.7
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#211994
secondary
#B9C147
accent
#EE3AE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211994

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

Preview Lab → · Contrast checker → · Palette generator →

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