#2220A8#2220A8

#2220A8 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.8% C 0.204 H 270.9°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2220A8
RGBrgb(34, 32, 168)
HSLhsl(241, 68%, 39%)
HSVhsv(241, 81%, 66%)
CMYKcmyk(79.8%, 81%, 0%, 34.1%)
CIE-LABlab(24.32, 47.52, -70.57)
CIE-LCHlch(24.32, 85.07, 303.95°)
OKLaboklab(36.82% 0.0034 -0.2043)
OKLCHoklch(36.82% 0.204 270.9)
XYZxyz(8.2417, 4.1993, 37.4144)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2220A8 #A6A820
analogous
#2062A8 #2220A8 #6620A8
triadic
#2220A8 #A82220 #20A822
tetradic
#2220A8 #A82062 #A6A820 #20A866
square
#2220A8 #A82062 #A6A820 #20A866
split-complementary
#2220A8 #A86620 #62A820
monochromatic
#0D0C41 #181675 #2220A8 #302ED7 #6361E1

Accessibility & contrast

On white

11.41
#2220A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2220A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2220A8
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2220A8#FFFFFF#000000##FFFFFF
##2220A81.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AC
Deuteranopia (green-blind)
#0033A6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2220a8;
/* rgb */ color: rgb(34, 32, 168);
/* oklch */ color: oklch(36.8% 0.204 270.9);
Tailwind
colors: {
  custom: {
    50: '#775fc3',
    500: '#2220a8',
    950: '#000000',
  },
}
SCSS
$custom: #2220a8;
$custom-light: #775fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2220a8",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 240.882,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.36824,
    "c": 0.20432,
    "h": 270.9
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#2220A8
secondary
#C4C65E
accent
#EB3DE8
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2220A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2220A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva