#22417C#22417C

#22417C is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.107 H 261.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#22417C
RGBrgb(34, 65, 124)
HSLhsl(219, 57%, 31%)
HSVhsv(219, 73%, 49%)
CMYKcmyk(72.6%, 47.6%, 0%, 51.4%)
CIE-LABlab(28.31, 10.12, -36.93)
CIE-LCHlch(28.31, 38.29, 285.32°)
OKLaboklab(38.53% -0.0151 -0.1057)
OKLCHoklch(38.53% 0.107 261.9)
XYZxyz(6.1868, 5.5753, 19.8150)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22417C #7C5D22
analogous
#226E7C #22417C #30227C
triadic
#22417C #7C2241 #417C22
tetradic
#22417C #7C226E #7C5D22 #227C30
square
#22417C #7C226E #7C5D22 #227C30
split-complementary
#22417C #7C3022 #6E7C22
monochromatic
#080F1C #15284C #22417C #2F5AAC #4B78CE

Accessibility & contrast

On white

9.93
#22417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#22417C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22417C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22417C#FFFFFF#000000##FFFFFF
##22417C1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477E
Deuteranopia (green-blind)
#113F7B
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #22417c;
/* rgb */ color: rgb(34, 65, 124);
/* oklch */ color: oklch(38.5% 0.107 261.9);
Tailwind
colors: {
  custom: {
    50: '#6975a2',
    500: '#22417c',
    950: '#000000',
  },
}
SCSS
$custom: #22417c;
$custom-light: #6975a2;
$custom-dark: #000000;
JSON
{
  "hex": "#22417c",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 219.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38534,
    "c": 0.10683,
    "h": 261.9
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#22417C
secondary
#AF8C4B
accent
#AC48E0
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #22417C

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

Preview Lab → · Contrast checker → · Palette generator →

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