#222599#222599

#222599 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.182 H 271.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#222599
RGBrgb(34, 37, 153)
HSLhsl(238, 64%, 37%)
HSVhsv(238, 78%, 60%)
CMYKcmyk(77.8%, 75.8%, 0%, 40%)
CIE-LABlab(23.55, 39.81, -62.71)
CIE-LCHlch(23.55, 74.28, 302.41°)
OKLaboklab(35.78% 0.0047 -0.1815)
OKLCHoklch(35.78% 0.182 271.5)
XYZxyz(7.0691, 3.9624, 30.5231)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222599 #999622
analogous
#226199 #222599 #5B2299
triadic
#222599 #992225 #259922
tetradic
#222599 #992261 #999622 #22995B
square
#222599 #992261 #999622 #22995B
split-complementary
#222599 #995B22 #619922
monochromatic
#0C0D35 #171967 #222599 #2D31CB #5B5EDB

Accessibility & contrast

On white

11.71
#222599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#222599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222599
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222599#FFFFFF#000000##FFFFFF
##2225991.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #222599;
/* rgb */ color: rgb(34, 37, 153);
/* oklch */ color: oklch(35.8% 0.182 271.5);
Tailwind
colors: {
  custom: {
    50: '#7361b8',
    500: '#222599',
    950: '#000000',
  },
}
SCSS
$custom: #222599;
$custom-light: #7361b8;
$custom-dark: #000000;
JSON
{
  "hex": "#222599",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 238.487,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35778,
    "c": 0.18161,
    "h": 271.5
  },
  "luminance": 0.03963
}

Semantic roles & 50–950 ramp

primary
#222599
secondary
#BFBC58
accent
#E241E7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #222599

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

Preview Lab → · Contrast checker → · Palette generator →

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