#22408E#22408E

#22408E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.134 H 265.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#22408E
RGBrgb(34, 64, 142)
HSLhsl(223, 61%, 35%)
HSVhsv(223, 76%, 56%)
CMYKcmyk(76.1%, 54.9%, 0%, 44.3%)
CIE-LABlab(29.31, 17.95, -46.51)
CIE-LCHlch(29.31, 49.86, 291.10°)
OKLaboklab(39.7% -0.0118 -0.134)
OKLCHoklch(39.7% 0.134 265)
XYZxyz(7.3738, 5.9591, 26.3475)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22408E #8E7022
analogous
#22768E #22408E #3A228E
triadic
#22408E #8E2240 #408E22
tetradic
#22408E #8E2276 #8E7022 #228E3A
square
#22408E #8E2276 #8E7022 #228E3A
split-complementary
#22408E #8E3A22 #768E22
monochromatic
#0A132B #162A5D #22408E #2E56BF #5478D6

Accessibility & contrast

On white

9.58
#22408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#22408E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22408E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22408E#FFFFFF#000000##FFFFFF
##22408E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034A91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #22408e;
/* rgb */ color: rgb(34, 64, 142);
/* oklch */ color: oklch(39.7% 0.134 265.0);
Tailwind
colors: {
  custom: {
    50: '#6d74b0',
    500: '#22408e',
    950: '#000000',
  },
}
SCSS
$custom: #22408e;
$custom-light: #6d74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22408e",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 223.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39704,
    "c": 0.13447,
    "h": 265
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#22408E
secondary
#BA9D52
accent
#B843E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #22408E

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

Preview Lab → · Contrast checker → · Palette generator →

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