#22407F#22407F

#22407F is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.113 H 263.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#22407F
RGBrgb(34, 64, 127)
HSLhsl(221, 58%, 32%)
HSVhsv(221, 73%, 50%)
CMYKcmyk(73.2%, 49.6%, 0%, 50.2%)
CIE-LABlab(28.22, 12.00, -38.97)
CIE-LCHlch(28.22, 40.77, 287.12°)
OKLaboklab(38.53% -0.0137 -0.1118)
OKLCHoklch(38.53% 0.113 263)
XYZxyz(6.3225, 5.5385, 20.8104)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22407F #7F6122
analogous
#226F7F #22407F #33227F
triadic
#22407F #7F2240 #407F22
tetradic
#22407F #7F226F #7F6122 #227F33
square
#22407F #7F226F #7F6122 #227F33
split-complementary
#22407F #7F3322 #6F7F22
monochromatic
#080F1E #15284F #22407F #2F58AF #4C76CF

Accessibility & contrast

On white

9.96
#22407F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#22407F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22407F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22407F#FFFFFF#000000##FFFFFF
##22407F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4781
Deuteranopia (green-blind)
#053F7E
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #22407f;
/* rgb */ color: rgb(34, 64, 127);
/* oklch */ color: oklch(38.5% 0.113 263.0);
Tailwind
colors: {
  custom: {
    50: '#6a74a4',
    500: '#22407f',
    950: '#000000',
  },
}
SCSS
$custom: #22407f;
$custom-light: #6a74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#22407f",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 220.645,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38525,
    "c": 0.11259,
    "h": 263
  },
  "luminance": 0.05539
}

Semantic roles & 50–950 ramp

primary
#22407F
secondary
#B2914B
accent
#AF47E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #22407F

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

Preview Lab → · Contrast checker → · Palette generator →

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