#22517A#22517A

#22517A is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.085 H 247.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#22517A
RGBrgb(34, 81, 122)
HSLhsl(208, 56%, 31%)
HSVhsv(208, 72%, 48%)
CMYKcmyk(72.1%, 33.6%, 0%, 52.2%)
CIE-LABlab(33.20, -1.35, -27.92)
CIE-LCHlch(33.20, 27.95, 267.23°)
OKLaboklab(42.3% -0.0323 -0.0791)
OKLCHoklch(42.3% 0.085 247.8)
XYZxyz(7.1136, 7.6293, 19.5063)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22517A #7A4B22
analogous
#227A77 #22517A #22257A
triadic
#22517A #7A2251 #517A22
tetradic
#22517A #77227A #7A4B22 #257A22
square
#22517A #77227A #7A4B22 #257A22
split-complementary
#22517A #7A2225 #7A7722
monochromatic
#07111A #15314A #22517A #2F71AA #4A90CD

Accessibility & contrast

On white

8.31
#22517A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#22517A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22517A
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22517A#FFFFFF#000000##FFFFFF
##22517A1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537C
Deuteranopia (green-blind)
#324A79
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #22517a;
/* rgb */ color: rgb(34, 81, 122);
/* oklch */ color: oklch(42.3% 0.085 247.8);
Tailwind
colors: {
  custom: {
    50: '#6981a0',
    500: '#22517a',
    950: '#000000',
  },
}
SCSS
$custom: #22517a;
$custom-light: #6981a0;
$custom-dark: #000000;
JSON
{
  "hex": "#22517a",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 207.955,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42296,
    "c": 0.08544,
    "h": 247.8
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#22517A
secondary
#AD794B
accent
#8F48E0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #22517A

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

Preview Lab → · Contrast checker → · Palette generator →

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