#221EA8#221EA8

#221EA8 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.6% C 0.206 H 271.1°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#221EA8
RGBrgb(34, 30, 168)
HSLhsl(242, 70%, 39%)
HSVhsv(242, 82%, 66%)
CMYKcmyk(79.8%, 82.1%, 0%, 34.1%)
CIE-LABlab(23.98, 48.50, -71.13)
CIE-LCHlch(23.98, 86.09, 304.29°)
OKLaboklab(36.59% 0.0039 -0.2059)
OKLCHoklch(36.59% 0.206 271.1)
XYZxyz(8.1895, 4.0949, 37.3970)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221EA8 #A4A81E
analogous
#1E5FA8 #221EA8 #671EA8
triadic
#221EA8 #A8221E #1EA822
tetradic
#221EA8 #A81E5F #A4A81E #1EA867
square
#221EA8 #A81E5F #A4A81E #1EA867
split-complementary
#221EA8 #A8671E #5FA81E
monochromatic
#0D0B40 #171574 #221EA8 #2F2AD9 #625EE2

Accessibility & contrast

On white

11.54
#221EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#221EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221EA8
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221EA8#FFFFFF#000000##FFFFFF
##221EA81.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AC
Deuteranopia (green-blind)
#0032A6
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #221ea8;
/* rgb */ color: rgb(34, 30, 168);
/* oklch */ color: oklch(36.6% 0.206 271.1);
Tailwind
colors: {
  custom: {
    50: '#775ec3',
    500: '#221ea8',
    950: '#000000',
  },
}
SCSS
$custom: #221ea8;
$custom-light: #775ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#221ea8",
  "rgb": {
    "r": 34,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 241.739,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3659,
    "c": 0.20591,
    "h": 271.1
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#221EA8
secondary
#C4C75B
accent
#ED3BE7
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #221EA8

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

Preview Lab → · Contrast checker → · Palette generator →

#221EA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva