#221574#221574

#221574 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.150 H 277.9°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#221574
RGBrgb(34, 21, 116)
HSLhsl(248, 69%, 27%)
HSVhsv(248, 82%, 45%)
CMYKcmyk(70.7%, 81.9%, 0%, 54.5%)
CIE-LABlab(16.19, 36.31, -51.59)
CIE-LCHlch(16.19, 63.09, 305.13°)
OKLaboklab(29.36% 0.0207 -0.149)
OKLCHoklch(29.36% 0.15 277.9)
XYZxyz(4.0792, 2.1370, 16.7171)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221574 #677415
analogous
#153774 #221574 #521574
triadic
#221574 #742215 #157422
tetradic
#221574 #741537 #677415 #157452
square
#221574 #741537 #677415 #157452
split-complementary
#221574 #745215 #377415
monochromatic
#08051A #130C40 #221574 #311EA8 #432BD9

Accessibility & contrast

On white

14.71
#221574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#221574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221574
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221574#FFFFFF#000000##FFFFFF
##2215741.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #221574;
/* rgb */ color: rgb(34, 21, 116);
/* oklch */ color: oklch(29.4% 0.150 277.9);
Tailwind
colors: {
  custom: {
    50: '#6b559d',
    500: '#221574',
    950: '#000000',
  },
}
SCSS
$custom: #221574;
$custom-light: #6b559d;
$custom-dark: #000000;
JSON
{
  "hex": "#221574",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 248.211,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29359,
    "c": 0.15048,
    "h": 277.9
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#221574
secondary
#9BAA3B
accent
#EC3CD4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #221574

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

Preview Lab → · Contrast checker → · Palette generator →

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