#221480#221480

#221480 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.166 H 276.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#221480
RGBrgb(34, 20, 128)
HSLhsl(248, 73%, 29%)
HSVhsv(248, 84%, 50%)
CMYKcmyk(73.4%, 84.4%, 0%, 49.8%)
CIE-LABlab(17.45, 40.68, -57.19)
CIE-LCHlch(17.45, 70.18, 305.43°)
OKLaboklab(30.66% 0.0176 -0.1653)
OKLCHoklch(30.66% 0.166 276.1)
XYZxyz(4.8048, 2.3984, 20.6276)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221480 #728014
analogous
#143C80 #221480 #581480
triadic
#221480 #802214 #148022
tetradic
#221480 #80143C #728014 #148058
square
#221480 #80143C #728014 #148058
split-complementary
#221480 #805814 #3C8014
monochromatic
#07041A #140C4B #221480 #301CB5 #4630DF

Accessibility & contrast

On white

14.19
#221480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#221480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221480
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221480#FFFFFF#000000##FFFFFF
##2214801.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #221480;
/* rgb */ color: rgb(34, 20, 128);
/* oklch */ color: oklch(30.7% 0.166 276.1);
Tailwind
colors: {
  custom: {
    50: '#6e56a6',
    500: '#221480',
    950: '#000000',
  },
}
SCSS
$custom: #221480;
$custom-light: #6e56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#221480",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 247.778,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30656,
    "c": 0.16623,
    "h": 276.1
  },
  "luminance": 0.02399
}

Semantic roles & 50–950 ramp

primary
#221480
secondary
#A5B53B
accent
#F038D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #221480

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

Preview Lab → · Contrast checker → · Palette generator →

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