#221479#221479

#221479 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.158 H 277.2°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#221479
RGBrgb(34, 20, 121)
HSLhsl(248, 72%, 28%)
HSVhsv(248, 83%, 47%)
CMYKcmyk(71.9%, 83.5%, 0%, 52.5%)
CIE-LABlab(16.60, 38.45, -54.13)
CIE-LCHlch(16.60, 66.39, 305.39°)
OKLaboklab(29.82% 0.0197 -0.1564)
OKLCHoklch(29.82% 0.158 277.2)
XYZxyz(4.3599, 2.2205, 18.2843)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221479 #6B7914
analogous
#143879 #221479 #551479
triadic
#221479 #792214 #147922
tetradic
#221479 #791438 #6B7914 #147955
square
#221479 #791438 #6B7914 #147955
split-complementary
#221479 #795514 #387914
monochromatic
#07041A #130B44 #221479 #311DAE #442BDC

Accessibility & contrast

On white

14.54
#221479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221479
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221479#FFFFFF#000000##FFFFFF
##2214791.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221479;
/* rgb */ color: rgb(34, 20, 121);
/* oklch */ color: oklch(29.8% 0.158 277.2);
Tailwind
colors: {
  custom: {
    50: '#6c55a1',
    500: '#221479',
    950: '#000000',
  },
}
SCSS
$custom: #221479;
$custom-light: #6c55a1;
$custom-dark: #000000;
JSON
{
  "hex": "#221479",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 248.317,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29821,
    "c": 0.15765,
    "h": 277.2
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#221479
secondary
#9FAF3A
accent
#EE39D5
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #221479

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

Preview Lab → · Contrast checker → · Palette generator →

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