#22517B#22517B

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

Color values

HEX#22517B
RGBrgb(34, 81, 123)
HSLhsl(208, 57%, 31%)
HSVhsv(208, 72%, 48%)
CMYKcmyk(72.4%, 34.1%, 0%, 51.8%)
CIE-LABlab(33.25, -0.97, -28.46)
CIE-LCHlch(33.25, 28.47, 268.05°)
OKLaboklab(42.36% -0.032 -0.0806)
OKLCHoklch(42.36% 0.087 248.4)
XYZxyz(7.1759, 7.6542, 19.8343)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22517B #7B4C22
analogous
#227B78 #22517B #22247B
triadic
#22517B #7B2251 #517B22
tetradic
#22517B #78227B #7B4C22 #247B22
square
#22517B #78227B #7B4C22 #247B22
split-complementary
#22517B #7B2224 #7B7822
monochromatic
#07121B #15314B #22517B #2F71AB #4A8FCD

Accessibility & contrast

On white

8.30
#22517B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22517B
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22517B#FFFFFF#000000##FFFFFF
##22517B1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22517b;
/* rgb */ color: rgb(34, 81, 123);
/* oklch */ color: oklch(42.4% 0.087 248.4);
Tailwind
colors: {
  custom: {
    50: '#6981a1',
    500: '#22517b',
    950: '#000000',
  },
}
SCSS
$custom: #22517b;
$custom-light: #6981a1;
$custom-dark: #000000;
JSON
{
  "hex": "#22517b",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 123
  },
  "hsl": {
    "h": 208.315,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42356,
    "c": 0.08677,
    "h": 248.4
  },
  "luminance": 0.07655
}

Semantic roles & 50–950 ramp

primary
#22517B
secondary
#AE7A4B
accent
#9048E0
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #22517B

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

Preview Lab → · Contrast checker → · Palette generator →

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