#221180#221180

#221180 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.169 H 276.4°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#221180
RGBrgb(34, 17, 128)
HSLhsl(249, 77%, 28%)
HSVhsv(249, 87%, 50%)
CMYKcmyk(73.4%, 86.7%, 0%, 49.8%)
CIE-LABlab(16.98, 42.06, -57.97)
CIE-LCHlch(16.98, 71.62, 305.97°)
OKLaboklab(30.33% 0.0187 -0.1675)
OKLCHoklch(30.33% 0.169 276.4)
XYZxyz(4.7551, 2.2990, 20.6111)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221180 #6F8011
analogous
#113780 #221180 #591180
triadic
#221180 #802211 #118022
tetradic
#221180 #801137 #6F8011 #118059
square
#221180 #801137 #6F8011 #118059
split-complementary
#221180 #805911 #378011
monochromatic
#07041B #140A4A #221180 #3018B6 #4529E3

Accessibility & contrast

On white

14.39
#221180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#221180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221180
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221180#FFFFFF#000000##FFFFFF
##2211801.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00257E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #221180;
/* rgb */ color: rgb(34, 17, 128);
/* oklch */ color: oklch(30.3% 0.169 276.4);
Tailwind
colors: {
  custom: {
    50: '#6e54a6',
    500: '#221180',
    950: '#000000',
  },
}
SCSS
$custom: #221180;
$custom-light: #6e54a6;
$custom-dark: #000000;
JSON
{
  "hex": "#221180",
  "rgb": {
    "r": 34,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 249.189,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30333,
    "c": 0.16854,
    "h": 276.4
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#221180
secondary
#A2B637
accent
#F335D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #221180

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

Preview Lab → · Contrast checker → · Palette generator →

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