#22239C#22239C

#22239C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.187 H 271.5°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#22239C
RGBrgb(34, 35, 156)
HSLhsl(240, 64%, 37%)
HSVhsv(240, 78%, 61%)
CMYKcmyk(78.2%, 77.6%, 0%, 38.8%)
CIE-LABlab(23.48, 41.98, -64.66)
CIE-LCHlch(23.48, 77.10, 302.99°)
OKLaboklab(35.83% 0.0049 -0.1872)
OKLCHoklch(35.83% 0.187 271.5)
XYZxyz(7.2594, 3.9416, 31.8243)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22239C #9C9B22
analogous
#22609C #22239C #5E229C
triadic
#22239C #9C2223 #239C22
tetradic
#22239C #9C2260 #9C9B22 #229C5E
square
#22239C #9C2260 #9C9B22 #229C5E
split-complementary
#22239C #9C5E22 #609C22
monochromatic
#0C0C38 #17186A #22239C #2D2ECE #5D5EDC

Accessibility & contrast

On white

11.74
#22239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#22239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22239C
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22239C#FFFFFF#000000##FFFFFF
##22239C1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #22239c;
/* rgb */ color: rgb(34, 35, 156);
/* oklch */ color: oklch(35.8% 0.187 271.5);
Tailwind
colors: {
  custom: {
    50: '#7460ba',
    500: '#22239c',
    950: '#000000',
  },
}
SCSS
$custom: #22239c;
$custom-light: #7460ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22239c",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 239.508,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35827,
    "c": 0.18727,
    "h": 271.5
  },
  "luminance": 0.03942
}

Semantic roles & 50–950 ramp

primary
#22239C
secondary
#C0BF5A
accent
#E641E7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22239C

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

Preview Lab → · Contrast checker → · Palette generator →

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