#222593#222593

#222593 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.174 H 271.9°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#222593
RGBrgb(34, 37, 147)
HSLhsl(238, 62%, 35%)
HSVhsv(238, 77%, 58%)
CMYKcmyk(76.9%, 74.8%, 0%, 42.4%)
CIE-LABlab(22.89, 37.72, -60.09)
CIE-LCHlch(22.89, 70.95, 302.12°)
OKLaboklab(35.12% 0.0057 -0.1739)
OKLCHoklch(35.12% 0.174 271.9)
XYZxyz(6.5859, 3.7691, 27.9785)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222593 #939022
analogous
#225D93 #222593 #572293
triadic
#222593 #932225 #259322
tetradic
#222593 #93225D #939022 #229357
square
#222593 #93225D #939022 #229357
split-complementary
#222593 #935722 #5D9322
monochromatic
#0B0C30 #171861 #222593 #2D32C5 #575BD8

Accessibility & contrast

On white

11.97
#222593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#222593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222593
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222593#FFFFFF#000000##FFFFFF
##2225931.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #222593;
/* rgb */ color: rgb(34, 37, 147);
/* oklch */ color: oklch(35.1% 0.174 271.9);
Tailwind
colors: {
  custom: {
    50: '#7161b4',
    500: '#222593',
    950: '#000000',
  },
}
SCSS
$custom: #222593;
$custom-light: #7161b4;
$custom-dark: #000000;
JSON
{
  "hex": "#222593",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 147
  },
  "hsl": {
    "h": 238.407,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35119,
    "c": 0.17404,
    "h": 271.9
  },
  "luminance": 0.0377
}

Semantic roles & 50–950 ramp

primary
#222593
secondary
#BCB955
accent
#E142E5
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222593

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

Preview Lab → · Contrast checker → · Palette generator →

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