#221477#221477

#221477 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.155 H 277.5°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#221477
RGBrgb(34, 20, 119)
HSLhsl(248, 71%, 27%)
HSVhsv(248, 83%, 47%)
CMYKcmyk(71.4%, 83.2%, 0%, 53.3%)
CIE-LABlab(16.36, 37.80, -53.24)
CIE-LCHlch(16.36, 65.30, 305.38°)
OKLaboklab(29.59% 0.0203 -0.1538)
OKLCHoklch(29.59% 0.155 277.5)
XYZxyz(4.2385, 2.1719, 17.6450)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221477 #697714
analogous
#143777 #221477 #541477
triadic
#221477 #772214 #147722
tetradic
#221477 #771437 #697714 #147754
square
#221477 #771437 #697714 #147754
split-complementary
#221477 #775414 #377714
monochromatic
#07041A #130B43 #221477 #311DAB #432ADB

Accessibility & contrast

On white

14.64
#221477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221477
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221477#FFFFFF#000000##FFFFFF
##2214771.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002475
Tritanopia (blue-blind)
#003246
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #221477;
/* rgb */ color: rgb(34, 20, 119);
/* oklch */ color: oklch(29.6% 0.155 277.5);
Tailwind
colors: {
  custom: {
    50: '#6c559f',
    500: '#221477',
    950: '#000000',
  },
}
SCSS
$custom: #221477;
$custom-light: #6c559f;
$custom-dark: #000000;
JSON
{
  "hex": "#221477",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 248.485,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29585,
    "c": 0.15515,
    "h": 277.5
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#221477
secondary
#9DAD3A
accent
#EE3AD4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #221477

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

Preview Lab → · Contrast checker → · Palette generator →

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