#222491#222491

#222491 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.173 H 272.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#222491
RGBrgb(34, 36, 145)
HSLhsl(239, 62%, 35%)
HSVhsv(239, 77%, 57%)
CMYKcmyk(76.6%, 75.2%, 0%, 43.1%)
CIE-LABlab(22.46, 37.62, -59.57)
CIE-LCHlch(22.46, 70.45, 302.28°)
OKLaboklab(34.75% 0.0065 -0.1724)
OKLCHoklch(34.75% 0.173 272.2)
XYZxyz(6.3997, 3.6455, 27.1489)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222491 #918F22
analogous
#225B91 #222491 #582291
triadic
#222491 #912224 #249122
tetradic
#222491 #91225B #918F22 #229158
square
#222491 #91225B #918F22 #229158
split-complementary
#222491 #915822 #5B9122
monochromatic
#0B0B2E #16185F #222491 #2E30C3 #5658D7

Accessibility & contrast

On white

12.14
#222491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#222491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222491
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222491#FFFFFF#000000##FFFFFF
##2224911.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00308F
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222491;
/* rgb */ color: rgb(34, 36, 145);
/* oklch */ color: oklch(34.7% 0.173 272.2);
Tailwind
colors: {
  custom: {
    50: '#7160b2',
    500: '#222491',
    950: '#000000',
  },
}
SCSS
$custom: #222491;
$custom-light: #7160b2;
$custom-dark: #000000;
JSON
{
  "hex": "#222491",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 238.919,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34748,
    "c": 0.17252,
    "h": 272.2
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

primary
#222491
secondary
#BBB953
accent
#E243E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222491

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

Preview Lab → · Contrast checker → · Palette generator →

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