#22259C#22259C

#22259C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.185 H 271.3°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#22259C
RGBrgb(34, 37, 156)
HSLhsl(239, 64%, 37%)
HSVhsv(239, 78%, 61%)
CMYKcmyk(78.2%, 76.3%, 0%, 38.8%)
CIE-LABlab(23.88, 40.84, -64.00)
CIE-LCHlch(23.88, 75.92, 302.54°)
OKLaboklab(36.11% 0.0041 -0.1853)
OKLCHoklch(36.11% 0.185 271.3)
XYZxyz(7.3200, 4.0627, 31.8444)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22259C #9C9922
analogous
#22629C #22259C #5C229C
triadic
#22259C #9C2225 #259C22
tetradic
#22259C #9C2262 #9C9922 #229C5C
square
#22259C #9C2262 #9C9922 #229C5C
split-complementary
#22259C #9C5C22 #629C22
monochromatic
#0C0D38 #17196A #22259C #2D31CE #5D60DC

Accessibility & contrast

On white

11.58
#22259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22259C
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22259C#FFFFFF#000000##FFFFFF
##22259C1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22259c;
/* rgb */ color: rgb(34, 37, 156);
/* oklch */ color: oklch(36.1% 0.185 271.3);
Tailwind
colors: {
  custom: {
    50: '#7361ba',
    500: '#22259c',
    950: '#000000',
  },
}
SCSS
$custom: #22259c;
$custom-light: #7361ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22259c",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 238.525,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3611,
    "c": 0.18536,
    "h": 271.3
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22259C

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

Preview Lab → · Contrast checker → · Palette generator →

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