#221565#221565

#221565 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.131 H 280.9°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#221565
RGBrgb(34, 21, 101)
HSLhsl(250, 66%, 24%)
HSVhsv(250, 79%, 40%)
CMYKcmyk(66.3%, 79.2%, 0%, 60.4%)
CIE-LABlab(14.49, 31.30, -44.60)
CIE-LCHlch(14.49, 54.49, 305.06°)
OKLaboklab(27.66% 0.0249 -0.1287)
OKLCHoklch(27.66% 0.131 280.9)
XYZxyz(3.2761, 1.8158, 12.4872)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221565 #586515
analogous
#153065 #221565 #4A1565
triadic
#221565 #652215 #156522
tetradic
#221565 #651530 #586515 #15654A
square
#221565 #651530 #586515 #15654A
split-complementary
#221565 #654A15 #306515
monochromatic
#090519 #110A32 #221565 #332098 #442ACA

Accessibility & contrast

On white

15.40
#221565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#221565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221565
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221565#FFFFFF#000000##FFFFFF
##2215651.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002264
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #221565;
/* rgb */ color: rgb(34, 21, 101);
/* oklch */ color: oklch(27.7% 0.131 280.9);
Tailwind
colors: {
  custom: {
    50: '#675492',
    500: '#221565',
    950: '#000000',
  },
}
SCSS
$custom: #221565;
$custom-light: #675492;
$custom-dark: #000000;
JSON
{
  "hex": "#221565",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 249.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2766,
    "c": 0.13106,
    "h": 280.9
  },
  "luminance": 0.01816
}

Semantic roles & 50–950 ramp

primary
#221565
secondary
#8C9C3A
accent
#E93FCD
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221565

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

Preview Lab → · Contrast checker → · Palette generator →

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