#22407C#22407C

#22407C is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.108 H 262.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#22407C
RGBrgb(34, 64, 124)
HSLhsl(220, 57%, 31%)
HSVhsv(220, 73%, 49%)
CMYKcmyk(72.6%, 48.4%, 0%, 51.4%)
CIE-LABlab(28.01, 10.81, -37.42)
CIE-LCHlch(28.01, 38.95, 286.11°)
OKLaboklab(38.3% -0.0141 -0.1072)
OKLCHoklch(38.3% 0.108 262.5)
XYZxyz(6.1299, 5.4615, 19.7960)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22407C #7C5E22
analogous
#226D7C #22407C #31227C
triadic
#22407C #7C2240 #407C22
tetradic
#22407C #7C226D #7C5E22 #227C31
square
#22407C #7C226D #7C5E22 #227C31
split-complementary
#22407C #7C3122 #6D7C22
monochromatic
#080E1C #15274C #22407C #2F59AC #4B76CE

Accessibility & contrast

On white

10.04
#22407C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#22407C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22407C
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22407C#FFFFFF#000000##FFFFFF
##22407C1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477E
Deuteranopia (green-blind)
#0D3E7B
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #22407c;
/* rgb */ color: rgb(34, 64, 124);
/* oklch */ color: oklch(38.3% 0.108 262.5);
Tailwind
colors: {
  custom: {
    50: '#6974a2',
    500: '#22407c',
    950: '#000000',
  },
}
SCSS
$custom: #22407c;
$custom-light: #6974a2;
$custom-dark: #000000;
JSON
{
  "hex": "#22407c",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 220,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38301,
    "c": 0.10814,
    "h": 262.5
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#22407C
secondary
#AF8D4B
accent
#AD48E0
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #22407C

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

Preview Lab → · Contrast checker → · Palette generator →

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