#222589#222589

#222589 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.161 H 272.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#222589
RGBrgb(34, 37, 137)
HSLhsl(238, 60%, 34%)
HSVhsv(238, 75%, 54%)
CMYKcmyk(75.2%, 73%, 0%, 46.3%)
CIE-LABlab(21.83, 34.18, -55.63)
CIE-LCHlch(21.83, 65.29, 301.57°)
OKLaboklab(34.04% 0.0073 -0.1609)
OKLCHoklch(34.04% 0.161 272.6)
XYZxyz(5.8351, 3.4688, 24.0241)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222589 #898622
analogous
#225889 #222589 #522289
triadic
#222589 #892225 #258922
tetradic
#222589 #892258 #898622 #228952
square
#222589 #892258 #898622 #228952
split-complementary
#222589 #895222 #588922
monochromatic
#0A0B27 #161858 #222589 #2E32BA #5155D4

Accessibility & contrast

On white

12.40
#222589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#222589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222589
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222589#FFFFFF#000000##FFFFFF
##2225891.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222589;
/* rgb */ color: rgb(34, 37, 137);
/* oklch */ color: oklch(34.0% 0.161 272.6);
Tailwind
colors: {
  custom: {
    50: '#6e60ac',
    500: '#222589',
    950: '#000000',
  },
}
SCSS
$custom: #222589;
$custom-light: #6e60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#222589",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 238.252,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34042,
    "c": 0.1611,
    "h": 272.6
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#222589
secondary
#B8B44F
accent
#DF44E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222589

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

Preview Lab → · Contrast checker → · Palette generator →

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