#22259F#22259F

#22259F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.189 H 271.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#22259F
RGBrgb(34, 37, 159)
HSLhsl(239, 65%, 38%)
HSVhsv(239, 79%, 62%)
CMYKcmyk(78.6%, 76.7%, 0%, 37.6%)
CIE-LABlab(24.21, 41.87, -65.28)
CIE-LCHlch(24.21, 77.55, 302.67°)
OKLaboklab(36.45% 0.0036 -0.189)
OKLCHoklch(36.45% 0.189 271.1)
XYZxyz(7.5771, 4.1656, 33.1989)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22259F #9F9C22
analogous
#22639F #22259F #5D229F
triadic
#22259F #9F2225 #259F22
tetradic
#22259F #9F2263 #9F9C22 #229F5D
square
#22259F #9F2263 #9F9C22 #229F5D
split-complementary
#22259F #9F5D22 #639F22
monochromatic
#0C0E3A #17196D #22259F #2D31D1 #5F62DD

Accessibility & contrast

On white

11.46
#22259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#22259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22259F
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22259F#FFFFFF#000000##FFFFFF
##22259F1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22259f;
/* rgb */ color: rgb(34, 37, 159);
/* oklch */ color: oklch(36.4% 0.189 271.1);
Tailwind
colors: {
  custom: {
    50: '#7461bd',
    500: '#22259f',
    950: '#000000',
  },
}
SCSS
$custom: #22259f;
$custom-light: #7461bd;
$custom-dark: #000000;
JSON
{
  "hex": "#22259f",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 238.56,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36445,
    "c": 0.18906,
    "h": 271.1
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#22259F
secondary
#C1BF5B
accent
#E440E8
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22259F

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

Preview Lab → · Contrast checker → · Palette generator →

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