#222098#222098

#222098 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.185 H 272.1°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#222098
RGBrgb(34, 32, 152)
HSLhsl(241, 65%, 36%)
HSVhsv(241, 79%, 60%)
CMYKcmyk(77.6%, 78.9%, 0%, 40.4%)
CIE-LABlab(22.44, 42.30, -63.92)
CIE-LCHlch(22.44, 76.65, 303.49°)
OKLaboklab(34.96% 0.0068 -0.185)
OKLCHoklch(34.96% 0.185 272.1)
XYZxyz(6.8418, 3.6394, 30.0416)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222098 #969820
analogous
#205A98 #222098 #5E2098
triadic
#222098 #982220 #209822
tetradic
#222098 #98205A #969820 #20985E
square
#222098 #98205A #969820 #20985E
split-complementary
#222098 #985E20 #5A9820
monochromatic
#0B0B33 #171565 #222098 #2D2BCB #5957DC

Accessibility & contrast

On white

12.15
#222098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#222098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222098
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222098#FFFFFF#000000##FFFFFF
##2220981.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9B
Deuteranopia (green-blind)
#003096
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222098;
/* rgb */ color: rgb(34, 32, 152);
/* oklch */ color: oklch(35.0% 0.185 272.1);
Tailwind
colors: {
  custom: {
    50: '#735eb8',
    500: '#222098',
    950: '#000000',
  },
}
SCSS
$custom: #222098;
$custom-light: #735eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#222098",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 241,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34964,
    "c": 0.18516,
    "h": 272.1
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #222098

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

Preview Lab → · Contrast checker → · Palette generator →

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