#222597#222597

#222597 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.179 H 271.6°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#222597
RGBrgb(34, 37, 151)
HSLhsl(238, 63%, 36%)
HSVhsv(238, 77%, 59%)
CMYKcmyk(77.5%, 75.5%, 0%, 40.8%)
CIE-LABlab(23.33, 39.12, -61.84)
CIE-LCHlch(23.33, 73.18, 302.32°)
OKLaboklab(35.56% 0.005 -0.179)
OKLCHoklch(35.56% 0.179 271.6)
XYZxyz(6.9053, 3.8968, 29.6604)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222597 #979422
analogous
#226097 #222597 #5A2297
triadic
#222597 #972225 #259722
tetradic
#222597 #972260 #979422 #22975A
square
#222597 #972260 #979422 #22975A
split-complementary
#222597 #975A22 #609722
monochromatic
#0C0D33 #171965 #222597 #2D31C9 #5A5DDA

Accessibility & contrast

On white

11.80
#222597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#222597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222597
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222597#FFFFFF#000000##FFFFFF
##2225971.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003295
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #222597;
/* rgb */ color: rgb(34, 37, 151);
/* oklch */ color: oklch(35.6% 0.179 271.6);
Tailwind
colors: {
  custom: {
    50: '#7261b7',
    500: '#222597',
    950: '#000000',
  },
}
SCSS
$custom: #222597;
$custom-light: #7261b7;
$custom-dark: #000000;
JSON
{
  "hex": "#222597",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 238.462,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35557,
    "c": 0.1791,
    "h": 271.6
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#222597
secondary
#BEBB57
accent
#E242E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222597

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

Preview Lab → · Contrast checker → · Palette generator →

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