#221476#221476

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

Color values

HEX#221476
RGBrgb(34, 20, 118)
HSLhsl(249, 71%, 27%)
HSVhsv(249, 83%, 46%)
CMYKcmyk(71.2%, 83.1%, 0%, 53.7%)
CIE-LABlab(16.25, 37.48, -52.79)
CIE-LCHlch(16.25, 64.74, 305.37°)
OKLaboklab(29.47% 0.0206 -0.1525)
OKLCHoklch(29.47% 0.154 277.7)
XYZxyz(4.1788, 2.1480, 17.3304)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221476 #687614
analogous
#143776 #221476 #531476
triadic
#221476 #762214 #147622
tetradic
#221476 #761437 #687614 #147653
square
#221476 #761437 #687614 #147653
split-complementary
#221476 #765314 #377614
monochromatic
#08041A #130B42 #221476 #311DAA #432ADB

Accessibility & contrast

On white

14.69
#221476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221476
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221476#FFFFFF#000000##FFFFFF
##2214761.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221476;
/* rgb */ color: rgb(34, 20, 118);
/* oklch */ color: oklch(29.5% 0.154 277.7);
Tailwind
colors: {
  custom: {
    50: '#6b559f',
    500: '#221476',
    950: '#000000',
  },
}
SCSS
$custom: #221476;
$custom-light: #6b559f;
$custom-dark: #000000;
JSON
{
  "hex": "#221476",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 248.571,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29467,
    "c": 0.15392,
    "h": 277.7
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#221476
secondary
#9CAC3A
accent
#EE3AD4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #221476

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

Preview Lab → · Contrast checker → · Palette generator →

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