#22259A#22259A

#22259A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.183 H 271.4°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#22259A
RGBrgb(34, 37, 154)
HSLhsl(239, 64%, 37%)
HSVhsv(239, 78%, 60%)
CMYKcmyk(77.9%, 76%, 0%, 39.6%)
CIE-LABlab(23.66, 40.16, -63.14)
CIE-LCHlch(23.66, 74.83, 302.45°)
OKLaboklab(35.89% 0.0045 -0.1828)
OKLCHoklch(35.89% 0.183 271.4)
XYZxyz(7.1520, 3.9955, 30.9599)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22259A #9A9722
analogous
#22619A #22259A #5B229A
triadic
#22259A #9A2225 #259A22
tetradic
#22259A #9A2261 #9A9722 #229A5B
square
#22259A #9A2261 #9A9722 #229A5B
split-complementary
#22259A #9A5B22 #619A22
monochromatic
#0C0D36 #171968 #22259A #2D31CC #5B5FDB

Accessibility & contrast

On white

11.67
#22259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#22259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22259A
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22259A#FFFFFF#000000##FFFFFF
##22259A1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #22259a;
/* rgb */ color: rgb(34, 37, 154);
/* oklch */ color: oklch(35.9% 0.183 271.4);
Tailwind
colors: {
  custom: {
    50: '#7361b9',
    500: '#22259a',
    950: '#000000',
  },
}
SCSS
$custom: #22259a;
$custom-light: #7361b9;
$custom-dark: #000000;
JSON
{
  "hex": "#22259a",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 238.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35888,
    "c": 0.18286,
    "h": 271.4
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#22259A
secondary
#BFBD58
accent
#E341E7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #22259A

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

Preview Lab → · Contrast checker → · Palette generator →

#22259A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva