#22239D#22239D

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

Color values

HEX#22239D
RGBrgb(34, 35, 157)
HSLhsl(240, 64%, 37%)
HSVhsv(240, 78%, 62%)
CMYKcmyk(78.3%, 77.7%, 0%, 38.4%)
CIE-LABlab(23.59, 42.32, -65.09)
CIE-LCHlch(23.59, 77.63, 303.03°)
OKLaboklab(35.94% 0.0047 -0.1884)
OKLCHoklch(35.94% 0.189 271.4)
XYZxyz(7.3445, 3.9757, 32.2721)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22239D #9D9C22
analogous
#22619D #22239D #5E229D
triadic
#22239D #9D2223 #239D22
tetradic
#22239D #9D2261 #9D9C22 #229D5E
square
#22239D #9D2261 #9D9C22 #229D5E
split-complementary
#22239D #9D5E22 #619D22
monochromatic
#0C0D38 #17186B #22239D #2D2ECF #5D5EDC

Accessibility & contrast

On white

11.70
#22239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#22239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22239D
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22239D#FFFFFF#000000##FFFFFF
##22239D1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00329B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #22239d;
/* rgb */ color: rgb(34, 35, 157);
/* oklch */ color: oklch(35.9% 0.189 271.4);
Tailwind
colors: {
  custom: {
    50: '#7460bb',
    500: '#22239d',
    950: '#000000',
  },
}
SCSS
$custom: #22239d;
$custom-light: #7460bb;
$custom-dark: #000000;
JSON
{
  "hex": "#22239d",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 239.512,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35941,
    "c": 0.1885,
    "h": 271.4
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#22239D
secondary
#C1C05A
accent
#E640E7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22239D

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

Preview Lab → · Contrast checker → · Palette generator →

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