#221984#221984

#221984 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.167 H 274.9°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#221984
RGBrgb(34, 25, 132)
HSLhsl(245, 68%, 31%)
HSVhsv(245, 81%, 52%)
CMYKcmyk(74.2%, 81.1%, 0%, 48.2%)
CIE-LABlab(18.80, 39.44, -57.48)
CIE-LCHlch(18.80, 69.72, 304.45°)
OKLaboklab(31.73% 0.0144 -0.1662)
OKLCHoklch(31.73% 0.167 274.9)
XYZxyz(5.1708, 2.7008, 22.0741)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221984 #7B8419
analogous
#194584 #221984 #571984
triadic
#221984 #842219 #198422
tetradic
#221984 #841945 #7B8419 #198457
square
#221984 #841945 #7B8419 #198457
split-complementary
#221984 #845719 #458419
monochromatic
#07061D #150F51 #221984 #2F23B7 #4A3DDA

Accessibility & contrast

On white

13.63
#221984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#221984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221984
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221984#FFFFFF#000000##FFFFFF
##2219841.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002982
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #221984;
/* rgb */ color: rgb(34, 25, 132);
/* oklch */ color: oklch(31.7% 0.167 274.9);
Tailwind
colors: {
  custom: {
    50: '#6e59a9',
    500: '#221984',
    950: '#000000',
  },
}
SCSS
$custom: #221984;
$custom-light: #6e59a9;
$custom-dark: #000000;
JSON
{
  "hex": "#221984",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 245.047,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31734,
    "c": 0.16686,
    "h": 274.9
  },
  "luminance": 0.02701
}

Semantic roles & 50–950 ramp

primary
#221984
secondary
#AEB841
accent
#EB3DDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #221984

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

Preview Lab → · Contrast checker → · Palette generator →

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