#22407A#22407A

#22407A is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.105 H 262.1°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#22407A
RGBrgb(34, 64, 122)
HSLhsl(220, 56%, 31%)
HSVhsv(220, 72%, 48%)
CMYKcmyk(72.1%, 47.5%, 0%, 52.2%)
CIE-LABlab(27.88, 10.02, -36.38)
CIE-LCHlch(27.88, 37.73, 285.39°)
OKLaboklab(38.15% -0.0145 -0.1041)
OKLCHoklch(38.15% 0.105 262.1)
XYZxyz(6.0047, 5.4114, 19.1366)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22407A #7A5C22
analogous
#226C7A #22407A #30227A
triadic
#22407A #7A2240 #407A22
tetradic
#22407A #7A226C #7A5C22 #227A30
square
#22407A #7A226C #7A5C22 #227A30
split-complementary
#22407A #7A3022 #6C7A22
monochromatic
#070E1A #15274A #22407A #2F59AA #4A76CD

Accessibility & contrast

On white

10.08
#22407A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#22407A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22407A
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22407A#FFFFFF#000000##FFFFFF
##22407A1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#113E79
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #22407a;
/* rgb */ color: rgb(34, 64, 122);
/* oklch */ color: oklch(38.2% 0.105 262.1);
Tailwind
colors: {
  custom: {
    50: '#6974a1',
    500: '#22407a',
    950: '#000000',
  },
}
SCSS
$custom: #22407a;
$custom-light: #6974a1;
$custom-dark: #000000;
JSON
{
  "hex": "#22407a",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 219.545,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38154,
    "c": 0.10515,
    "h": 262.1
  },
  "luminance": 0.05412
}

Semantic roles & 50–950 ramp

primary
#22407A
secondary
#AD8B4B
accent
#AC48E0
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #22407A

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

Preview Lab → · Contrast checker → · Palette generator →

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