#221884#221884

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

Color values

HEX#221884
RGBrgb(34, 24, 132)
HSLhsl(246, 69%, 31%)
HSVhsv(246, 82%, 52%)
CMYKcmyk(74.2%, 81.8%, 0%, 48.2%)
CIE-LABlab(18.62, 39.97, -57.79)
CIE-LCHlch(18.62, 70.26, 304.67°)
OKLaboklab(31.61% 0.0148 -0.1671)
OKLCHoklch(31.61% 0.168 275.1)
XYZxyz(5.1498, 2.6588, 22.0671)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221884 #7A8418
analogous
#184484 #221884 #581884
triadic
#221884 #842218 #188422
tetradic
#221884 #841844 #7A8418 #188458
square
#221884 #841844 #7A8418 #188458
split-complementary
#221884 #845818 #448418
monochromatic
#07051C #150F50 #221884 #2F21B8 #4A3BDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##221884#FFFFFF#000000##FFFFFF
##2218841.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)
#003287
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #221884;
/* rgb */ color: rgb(34, 24, 132);
/* oklch */ color: oklch(31.6% 0.168 275.1);
Tailwind
colors: {
  custom: {
    50: '#6e58a9',
    500: '#221884',
    950: '#000000',
  },
}
SCSS
$custom: #221884;
$custom-light: #6e58a9;
$custom-dark: #000000;
JSON
{
  "hex": "#221884",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 245.556,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31608,
    "c": 0.16774,
    "h": 275.1
  },
  "luminance": 0.02659
}

Semantic roles & 50–950 ramp

primary
#221884
secondary
#ADB840
accent
#EC3CDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #221884

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

Preview Lab → · Contrast checker → · Palette generator →

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