#221880#221880

#221880 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.163 H 275.6°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#221880
RGBrgb(34, 24, 128)
HSLhsl(246, 68%, 30%)
HSVhsv(246, 81%, 50%)
CMYKcmyk(73.4%, 81.3%, 0%, 49.8%)
CIE-LABlab(18.15, 38.66, -56.04)
CIE-LCHlch(18.15, 68.08, 304.60°)
OKLaboklab(31.14% 0.0159 -0.162)
OKLCHoklch(31.14% 0.163 275.6)
XYZxyz(4.8813, 2.5514, 20.6531)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221880 #768018
analogous
#184280 #221880 #561880
triadic
#221880 #802218 #188022
tetradic
#221880 #801842 #768018 #188056
square
#221880 #801842 #768018 #188056
split-complementary
#221880 #805618 #428018
monochromatic
#07051A #140E4C #221880 #3022B4 #4839DA

Accessibility & contrast

On white

13.90
#221880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#221880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221880
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221880#FFFFFF#000000##FFFFFF
##2218801.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00287E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #221880;
/* rgb */ color: rgb(34, 24, 128);
/* oklch */ color: oklch(31.1% 0.163 275.6);
Tailwind
colors: {
  custom: {
    50: '#6d58a6',
    500: '#221880',
    950: '#000000',
  },
}
SCSS
$custom: #221880;
$custom-light: #6d58a6;
$custom-dark: #000000;
JSON
{
  "hex": "#221880",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 245.769,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3114,
    "c": 0.16278,
    "h": 275.6
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#221880
secondary
#A9B440
accent
#EB3DDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #221880

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

Preview Lab → · Contrast checker → · Palette generator →

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