#221475#221475

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

Color values

HEX#221475
RGBrgb(34, 20, 117)
HSLhsl(249, 71%, 27%)
HSVhsv(249, 83%, 46%)
CMYKcmyk(70.9%, 82.9%, 0%, 54.1%)
CIE-LABlab(16.13, 37.16, -52.34)
CIE-LCHlch(16.13, 64.19, 305.37°)
OKLaboklab(29.35% 0.0209 -0.1512)
OKLCHoklch(29.35% 0.153 277.9)
XYZxyz(4.1197, 2.1244, 17.0191)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221475 #677514
analogous
#143775 #221475 #531475
triadic
#221475 #752214 #147522
tetradic
#221475 #751437 #677514 #147553
square
#221475 #751437 #677514 #147553
split-complementary
#221475 #755314 #377514
monochromatic
#08041A #130B41 #221475 #311DA9 #4329DA

Accessibility & contrast

On white

14.74
#221475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221475
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221475#FFFFFF#000000##FFFFFF
##2214751.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.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: #221475;
/* rgb */ color: rgb(34, 20, 117);
/* oklch */ color: oklch(29.3% 0.153 277.9);
Tailwind
colors: {
  custom: {
    50: '#6b559e',
    500: '#221475',
    950: '#000000',
  },
}
SCSS
$custom: #221475;
$custom-light: #6b559e;
$custom-dark: #000000;
JSON
{
  "hex": "#221475",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 248.66,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.2935,
    "c": 0.15266,
    "h": 277.9
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#221475
secondary
#9BAB3A
accent
#EE3AD4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #221475

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

Preview Lab → · Contrast checker → · Palette generator →

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