#221379#221379

#221379 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.159 H 277.3°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#221379
RGBrgb(34, 19, 121)
HSLhsl(249, 73%, 27%)
HSVhsv(249, 84%, 47%)
CMYKcmyk(71.9%, 84.3%, 0%, 52.5%)
CIE-LABlab(16.43, 38.95, -54.41)
CIE-LCHlch(16.43, 66.91, 305.60°)
OKLaboklab(29.7% 0.0202 -0.1572)
OKLCHoklch(29.7% 0.159 277.3)
XYZxyz(4.3426, 2.1859, 18.2785)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221379 #6A7913
analogous
#133779 #221379 #551379
triadic
#221379 #792213 #137922
tetradic
#221379 #791337 #6A7913 #137955
square
#221379 #791337 #6A7913 #137955
split-complementary
#221379 #795513 #377913
monochromatic
#07041A #130B44 #221379 #311BAE #4429DD

Accessibility & contrast

On white

14.61
#221379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#221379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221379
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221379#FFFFFF#000000##FFFFFF
##2213791.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002477
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #221379;
/* rgb */ color: rgb(34, 19, 121);
/* oklch */ color: oklch(29.7% 0.159 277.3);
Tailwind
colors: {
  custom: {
    50: '#6c54a1',
    500: '#221379',
    950: '#000000',
  },
}
SCSS
$custom: #221379;
$custom-light: #6c54a1;
$custom-dark: #000000;
JSON
{
  "hex": "#221379",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 121
  },
  "hsl": {
    "h": 248.824,
    "s": 72.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29703,
    "c": 0.1585,
    "h": 277.3
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#221379
secondary
#9EAF39
accent
#F038D5
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #221379

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

Preview Lab → · Contrast checker → · Palette generator →

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