#22517E#22517E

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

Color values

HEX#22517E
RGBrgb(34, 81, 126)
HSLhsl(209, 58%, 31%)
HSVhsv(209, 73%, 49%)
CMYKcmyk(73%, 35.7%, 0%, 50.6%)
CIE-LABlab(33.42, 0.18, -30.06)
CIE-LCHlch(33.42, 30.06, 270.35°)
OKLaboklab(42.54% -0.0311 -0.0853)
OKLCHoklch(42.54% 0.091 250)
XYZxyz(7.3666, 7.7305, 20.8385)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22517E #7E4F22
analogous
#227E7D #22517E #22237E
triadic
#22517E #7E2251 #517E22
tetradic
#22517E #7D227E #7E4F22 #237E22
square
#22517E #7D227E #7E4F22 #237E22
split-complementary
#22517E #7E2223 #7E7D22
monochromatic
#08131E #15324E #22517E #2F70AE #4C8FCF

Accessibility & contrast

On white

8.25
#22517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#22517E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22517E
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22517E#FFFFFF#000000##FFFFFF
##22517E1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5380
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #22517e;
/* rgb */ color: rgb(34, 81, 126);
/* oklch */ color: oklch(42.5% 0.091 250.0);
Tailwind
colors: {
  custom: {
    50: '#6981a3',
    500: '#22517e',
    950: '#000000',
  },
}
SCSS
$custom: #22517e;
$custom-light: #6981a3;
$custom-dark: #000000;
JSON
{
  "hex": "#22517e",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 209.348,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42537,
    "c": 0.09082,
    "h": 250
  },
  "luminance": 0.07731
}

Semantic roles & 50–950 ramp

primary
#22517E
secondary
#B17D4B
accent
#9247E1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #22517E

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

Preview Lab → · Contrast checker → · Palette generator →

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