#221699#221699

#221699 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.9% C 0.194 H 272.8°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#221699
RGBrgb(34, 22, 153)
HSLhsl(245, 75%, 34%)
HSVhsv(245, 86%, 60%)
CMYKcmyk(77.8%, 85.6%, 0%, 40%)
CIE-LABlab(20.88, 47.53, -67.13)
CIE-LCHlch(20.88, 82.26, 305.30°)
OKLaboklab(33.91% 0.0097 -0.1941)
OKLCHoklch(33.91% 0.194 272.8)
XYZxyz(6.6944, 3.2131, 30.3982)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221699 #8D9916
analogous
#164C99 #221699 #641699
triadic
#221699 #992216 #169922
tetradic
#221699 #99164C #8D9916 #169964
square
#221699 #99164C #8D9916 #169964
split-complementary
#221699 #996416 #4C9916
monochromatic
#0A072E #160E63 #221699 #2E1ECF #5445E4

Accessibility & contrast

On white

12.78
#221699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#221699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221699
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221699#FFFFFF#000000##FFFFFF
##2216991.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00389C
Deuteranopia (green-blind)
#002C97
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #221699;
/* rgb */ color: rgb(34, 22, 153);
/* oklch */ color: oklch(33.9% 0.194 272.8);
Tailwind
colors: {
  custom: {
    50: '#7459b8',
    500: '#221699',
    950: '#000000',
  },
}
SCSS
$custom: #221699;
$custom-light: #7459b8;
$custom-dark: #000000;
JSON
{
  "hex": "#221699",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 245.496,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33913,
    "c": 0.19439,
    "h": 272.8
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#221699
secondary
#B9C546
accent
#F136E0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #221699

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

Preview Lab → · Contrast checker → · Palette generator →

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