#222594#222594

#222594 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.175 H 271.8°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#222594
RGBrgb(34, 37, 148)
HSLhsl(238, 63%, 36%)
HSVhsv(238, 77%, 58%)
CMYKcmyk(77%, 75%, 0%, 42%)
CIE-LABlab(23.00, 38.07, -60.53)
CIE-LCHlch(23.00, 71.51, 302.17°)
OKLaboklab(35.23% 0.0055 -0.1752)
OKLCHoklch(35.23% 0.175 271.8)
XYZxyz(6.6647, 3.8006, 28.3936)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222594 #949122
analogous
#225E94 #222594 #582294
triadic
#222594 #942225 #259422
tetradic
#222594 #94225E #949122 #229458
square
#222594 #94225E #949122 #229458
split-complementary
#222594 #945822 #5E9422
monochromatic
#0B0C30 #171962 #222594 #2D31C6 #585BD9

Accessibility & contrast

On white

11.93
#222594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#222594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222594
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222594#FFFFFF#000000##FFFFFF
##2225941.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222594;
/* rgb */ color: rgb(34, 37, 148);
/* oklch */ color: oklch(35.2% 0.175 271.8);
Tailwind
colors: {
  custom: {
    50: '#7161b5',
    500: '#222594',
    950: '#000000',
  },
}
SCSS
$custom: #222594;
$custom-light: #7161b5;
$custom-dark: #000000;
JSON
{
  "hex": "#222594",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 238.421,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35228,
    "c": 0.17531,
    "h": 271.8
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#222594
secondary
#BDBA55
accent
#E142E6
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222594

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

Preview Lab → · Contrast checker → · Palette generator →

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