#22239E#22239E

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

Color values

HEX#22239E
RGBrgb(34, 35, 158)
HSLhsl(240, 65%, 38%)
HSVhsv(240, 78%, 62%)
CMYKcmyk(78.5%, 77.8%, 0%, 38%)
CIE-LABlab(23.70, 42.65, -65.51)
CIE-LCHlch(23.70, 78.17, 303.07°)
OKLaboklab(36.05% 0.0045 -0.1897)
OKLCHoklch(36.05% 0.19 271.4)
XYZxyz(7.4302, 4.0099, 32.7235)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22239E #9E9D22
analogous
#22619E #22239E #5F229E
triadic
#22239E #9E2223 #239E22
tetradic
#22239E #9E2261 #9E9D22 #229E5F
square
#22239E #9E2261 #9E9D22 #229E5F
split-complementary
#22239E #9E5F22 #619E22
monochromatic
#0C0D39 #17186C #22239E #2D2ED0 #5E5FDC

Accessibility & contrast

On white

11.65
#22239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22239E
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22239E#FFFFFF#000000##FFFFFF
##22239E1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22239e;
/* rgb */ color: rgb(34, 35, 158);
/* oklch */ color: oklch(36.1% 0.190 271.4);
Tailwind
colors: {
  custom: {
    50: '#7460bc',
    500: '#22239e',
    950: '#000000',
  },
}
SCSS
$custom: #22239e;
$custom-light: #7460bc;
$custom-dark: #000000;
JSON
{
  "hex": "#22239e",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 239.516,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36054,
    "c": 0.18972,
    "h": 271.4
  },
  "luminance": 0.04011
}

Semantic roles & 50–950 ramp

primary
#22239E
secondary
#C1C05B
accent
#E640E8
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22239E

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

Preview Lab → · Contrast checker → · Palette generator →

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