#22239F#22239F

#22239F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.191 H 271.3°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#22239F
RGBrgb(34, 35, 159)
HSLhsl(240, 65%, 38%)
HSVhsv(240, 79%, 62%)
CMYKcmyk(78.6%, 78%, 0%, 37.6%)
CIE-LABlab(23.82, 42.99, -65.93)
CIE-LCHlch(23.82, 78.71, 303.10°)
OKLaboklab(36.17% 0.0043 -0.1909)
OKLCHoklch(36.17% 0.191 271.3)
XYZxyz(7.5166, 4.0445, 33.1787)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22239F #9F9E22
analogous
#22619F #22239F #5F229F
triadic
#22239F #9F2223 #239F22
tetradic
#22239F #9F2261 #9F9E22 #229F5F
square
#22239F #9F2261 #9F9E22 #229F5F
split-complementary
#22239F #9F5F22 #619F22
monochromatic
#0C0D3A #17186D #22239F #2D2ED1 #5F60DD

Accessibility & contrast

On white

11.61
#22239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#22239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22239F
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22239F#FFFFFF#000000##FFFFFF
##22239F1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22239f;
/* rgb */ color: rgb(34, 35, 159);
/* oklch */ color: oklch(36.2% 0.191 271.3);
Tailwind
colors: {
  custom: {
    50: '#7460bd',
    500: '#22239f',
    950: '#000000',
  },
}
SCSS
$custom: #22239f;
$custom-light: #7460bd;
$custom-dark: #000000;
JSON
{
  "hex": "#22239f",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 239.52,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36167,
    "c": 0.19095,
    "h": 271.3
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#22239F
secondary
#C1C15B
accent
#E640E8
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22239F

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

Preview Lab → · Contrast checker → · Palette generator →

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