#22517D#22517D

#22517D is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.089 H 249.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#22517D
RGBrgb(34, 81, 125)
HSLhsl(209, 57%, 31%)
HSVhsv(209, 73%, 49%)
CMYKcmyk(72.8%, 35.2%, 0%, 51%)
CIE-LABlab(33.36, -0.20, -29.53)
CIE-LCHlch(33.36, 29.53, 269.61°)
OKLaboklab(42.48% -0.0314 -0.0838)
OKLCHoklch(42.48% 0.089 249.5)
XYZxyz(7.3024, 7.7048, 20.5004)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22517D #7D4E22
analogous
#227D7B #22517D #22237D
triadic
#22517D #7D2251 #517D22
tetradic
#22517D #7B227D #7D4E22 #237D22
square
#22517D #7B227D #7D4E22 #237D22
split-complementary
#22517D #7D2223 #7D7B22
monochromatic
#08131D #15324D #22517D #2F70AD #4B8FCE

Accessibility & contrast

On white

8.26
#22517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22517D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22517D#FFFFFF#000000##FFFFFF
##22517D1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537F
Deuteranopia (green-blind)
#304B7C
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #22517d;
/* rgb */ color: rgb(34, 81, 125);
/* oklch */ color: oklch(42.5% 0.089 249.5);
Tailwind
colors: {
  custom: {
    50: '#6981a3',
    500: '#22517d',
    950: '#000000',
  },
}
SCSS
$custom: #22517d;
$custom-light: #6981a3;
$custom-dark: #000000;
JSON
{
  "hex": "#22517d",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 209.011,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42477,
    "c": 0.08946,
    "h": 249.5
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#22517D
secondary
#B07C4B
accent
#9147E0
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #22517D

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

Preview Lab → · Contrast checker → · Palette generator →

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