#221980#221980

#221980 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.162 H 275.5°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#221980
RGBrgb(34, 25, 128)
HSLhsl(245, 67%, 30%)
HSVhsv(245, 80%, 50%)
CMYKcmyk(73.4%, 80.5%, 0%, 49.8%)
CIE-LABlab(18.34, 38.12, -55.73)
CIE-LCHlch(18.34, 67.52, 304.37°)
OKLaboklab(31.27% 0.0154 -0.1611)
OKLCHoklch(31.27% 0.162 275.5)
XYZxyz(4.9023, 2.5934, 20.6601)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221980 #778019
analogous
#194380 #221980 #561980
triadic
#221980 #802219 #198022
tetradic
#221980 #801943 #778019 #198056
square
#221980 #801943 #778019 #198056
split-complementary
#221980 #805619 #438019
monochromatic
#07051A #140F4D #221980 #3023B3 #493BD9

Accessibility & contrast

On white

13.83
#221980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#221980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221980
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221980#FFFFFF#000000##FFFFFF
##2219801.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221980;
/* rgb */ color: rgb(34, 25, 128);
/* oklch */ color: oklch(31.3% 0.162 275.5);
Tailwind
colors: {
  custom: {
    50: '#6d58a6',
    500: '#221980',
    950: '#000000',
  },
}
SCSS
$custom: #221980;
$custom-light: #6d58a6;
$custom-dark: #000000;
JSON
{
  "hex": "#221980",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 245.243,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.3127,
    "c": 0.16186,
    "h": 275.5
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#221980
secondary
#AAB441
accent
#EA3EDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #221980

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

Preview Lab → · Contrast checker → · Palette generator →

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