#22259B#22259B

#22259B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.184 H 271.3°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#22259B
RGBrgb(34, 37, 155)
HSLhsl(239, 64%, 37%)
HSVhsv(239, 78%, 61%)
CMYKcmyk(78.1%, 76.1%, 0%, 39.2%)
CIE-LABlab(23.77, 40.50, -63.57)
CIE-LCHlch(23.77, 75.38, 302.50°)
OKLaboklab(36% 0.0043 -0.1841)
OKLCHoklch(36% 0.184 271.3)
XYZxyz(7.2356, 4.0290, 31.4003)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22259B #9B9822
analogous
#22629B #22259B #5B229B
triadic
#22259B #9B2225 #259B22
tetradic
#22259B #9B2262 #9B9822 #229B5B
square
#22259B #9B2262 #9B9822 #229B5B
split-complementary
#22259B #9B5B22 #629B22
monochromatic
#0C0D37 #171969 #22259B #2D31CD #5C5FDB

Accessibility & contrast

On white

11.63
#22259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#22259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22259B
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22259B#FFFFFF#000000##FFFFFF
##22259B1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22259b;
/* rgb */ color: rgb(34, 37, 155);
/* oklch */ color: oklch(36.0% 0.184 271.3);
Tailwind
colors: {
  custom: {
    50: '#7361ba',
    500: '#22259b',
    950: '#000000',
  },
}
SCSS
$custom: #22259b;
$custom-light: #7361ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22259b",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 238.512,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35999,
    "c": 0.18411,
    "h": 271.3
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#22259B
secondary
#C0BD59
accent
#E341E7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22259B

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

Preview Lab → · Contrast checker → · Palette generator →

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