#221570#221570

#221570 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.145 H 278.6°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#221570
RGBrgb(34, 21, 112)
HSLhsl(249, 68%, 26%)
HSVhsv(249, 81%, 44%)
CMYKcmyk(69.6%, 81.2%, 0%, 56.1%)
CIE-LABlab(15.73, 34.99, -49.77)
CIE-LCHlch(15.73, 60.84, 305.11°)
OKLaboklab(28.9% 0.0218 -0.1437)
OKLCHoklch(28.9% 0.145 278.6)
XYZxyz(3.8515, 2.0459, 15.5180)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221570 #637015
analogous
#153570 #221570 #4F1570
triadic
#221570 #702215 #157022
tetradic
#221570 #701535 #637015 #15704F
square
#221570 #701535 #637015 #15704F
split-complementary
#221570 #704F15 #357015
monochromatic
#08051A #120B3C #221570 #321FA4 #4129D7

Accessibility & contrast

On white

14.90
#221570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#221570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221570
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221570#FFFFFF#000000##FFFFFF
##2215701.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00236E
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #221570;
/* rgb */ color: rgb(34, 21, 112);
/* oklch */ color: oklch(28.9% 0.145 278.6);
Tailwind
colors: {
  custom: {
    50: '#6a559a',
    500: '#221570',
    950: '#000000',
  },
}
SCSS
$custom: #221570;
$custom-light: #6a559a;
$custom-dark: #000000;
JSON
{
  "hex": "#221570",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 248.571,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28898,
    "c": 0.14539,
    "h": 278.6
  },
  "luminance": 0.02046
}

Semantic roles & 50–950 ramp

primary
#221570
secondary
#97A63B
accent
#EB3DD2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #221570

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

Preview Lab → · Contrast checker → · Palette generator →

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