#222097#222097

#222097 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.184 H 272.2°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#222097
RGBrgb(34, 32, 151)
HSLhsl(241, 65%, 36%)
HSVhsv(241, 79%, 59%)
CMYKcmyk(77.5%, 78.8%, 0%, 40.8%)
CIE-LABlab(22.33, 41.96, -63.50)
CIE-LCHlch(22.33, 76.11, 303.46°)
OKLaboklab(34.85% 0.007 -0.1838)
OKLCHoklch(34.85% 0.184 272.2)
XYZxyz(6.7602, 3.6067, 29.6120)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222097 #959720
analogous
#205997 #222097 #5D2097
triadic
#222097 #972220 #209722
tetradic
#222097 #972059 #959720 #20975D
square
#222097 #972059 #959720 #20975D
split-complementary
#222097 #975D20 #599720
monochromatic
#0B0B32 #171564 #222097 #2D2BC9 #5856DB

Accessibility & contrast

On white

12.20
#222097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#222097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222097
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222097#FFFFFF#000000##FFFFFF
##2220971.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9A
Deuteranopia (green-blind)
#002F95
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222097;
/* rgb */ color: rgb(34, 32, 151);
/* oklch */ color: oklch(34.8% 0.184 272.2);
Tailwind
colors: {
  custom: {
    50: '#735eb7',
    500: '#222097',
    950: '#000000',
  },
}
SCSS
$custom: #222097;
$custom-light: #735eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#222097",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 241.008,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3485,
    "c": 0.18392,
    "h": 272.2
  },
  "luminance": 0.03607
}

Semantic roles & 50–950 ramp

primary
#222097
secondary
#BDBF54
accent
#E840E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #222097

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

Preview Lab → · Contrast checker → · Palette generator →

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