#22517C#22517C

#22517C is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.4% C 0.088 H 248.9°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#22517C
RGBrgb(34, 81, 124)
HSLhsl(209, 57%, 31%)
HSVhsv(209, 73%, 49%)
CMYKcmyk(72.6%, 34.7%, 0%, 51.4%)
CIE-LABlab(33.31, -0.59, -28.99)
CIE-LCHlch(33.31, 29.00, 268.84°)
OKLaboklab(42.42% -0.0317 -0.0822)
OKLCHoklch(42.42% 0.088 248.9)
XYZxyz(7.2388, 7.6794, 20.1656)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22517C #7C4D22
analogous
#227C7A #22517C #22247C
triadic
#22517C #7C2251 #517C22
tetradic
#22517C #7A227C #7C4D22 #247C22
square
#22517C #7A227C #7C4D22 #247C22
split-complementary
#22517C #7C2224 #7C7A22
monochromatic
#08121C #15324C #22517C #2F70AC #4B8FCE

Accessibility & contrast

On white

8.28
#22517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#22517C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22517C
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22517C#FFFFFF#000000##FFFFFF
##22517C1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537E
Deuteranopia (green-blind)
#314A7B
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #22517c;
/* rgb */ color: rgb(34, 81, 124);
/* oklch */ color: oklch(42.4% 0.088 248.9);
Tailwind
colors: {
  custom: {
    50: '#6981a2',
    500: '#22517c',
    950: '#000000',
  },
}
SCSS
$custom: #22517c;
$custom-light: #6981a2;
$custom-dark: #000000;
JSON
{
  "hex": "#22517c",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 208.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42416,
    "c": 0.08811,
    "h": 248.9
  },
  "luminance": 0.0768
}

Semantic roles & 50–950 ramp

primary
#22517C
secondary
#AF7B4B
accent
#9148E0
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #22517C

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

Preview Lab → · Contrast checker → · Palette generator →

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