#221575#221575

#221575 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.152 H 277.7°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#221575
RGBrgb(34, 21, 117)
HSLhsl(248, 70%, 27%)
HSVhsv(248, 82%, 46%)
CMYKcmyk(70.9%, 82.1%, 0%, 54.1%)
CIE-LABlab(16.31, 36.63, -52.04)
CIE-LCHlch(16.31, 63.65, 305.14°)
OKLaboklab(29.48% 0.0204 -0.1504)
OKLCHoklch(29.48% 0.152 277.7)
XYZxyz(4.1377, 2.1604, 17.0251)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221575 #687515
analogous
#153875 #221575 #521575
triadic
#221575 #752215 #157522
tetradic
#221575 #751538 #687515 #157552
square
#221575 #751538 #687515 #157552
split-complementary
#221575 #755215 #387515
monochromatic
#08051A #130C41 #221575 #311EA9 #432BD9

Accessibility & contrast

On white

14.66
#221575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221575
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221575#FFFFFF#000000##FFFFFF
##2215751.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #221575;
/* rgb */ color: rgb(34, 21, 117);
/* oklch */ color: oklch(29.5% 0.152 277.7);
Tailwind
colors: {
  custom: {
    50: '#6b559e',
    500: '#221575',
    950: '#000000',
  },
}
SCSS
$custom: #221575;
$custom-light: #6b559e;
$custom-dark: #000000;
JSON
{
  "hex": "#221575",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 248.125,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29475,
    "c": 0.15175,
    "h": 277.7
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#221575
secondary
#9CAB3B
accent
#EC3BD4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #221575

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

Preview Lab → · Contrast checker → · Palette generator →

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