#22517F#22517F

#22517F is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.6% C 0.092 H 250.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#22517F
RGBrgb(34, 81, 127)
HSLhsl(210, 58%, 32%)
HSVhsv(210, 73%, 50%)
CMYKcmyk(73.2%, 36.2%, 0%, 50.2%)
CIE-LABlab(33.47, 0.57, -30.59)
CIE-LCHlch(33.47, 30.59, 271.07°)
OKLaboklab(42.6% -0.0308 -0.0869)
OKLCHoklch(42.6% 0.092 250.5)
XYZxyz(7.4314, 7.7564, 21.1800)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22517F #7F5022
analogous
#227F7F #22517F #22237F
triadic
#22517F #7F2251 #517F22
tetradic
#22517F #7F227F #7F5022 #237F22
square
#22517F #7F227F #7F5022 #237F22
split-complementary
#22517F #7F2223 #7F7F22
monochromatic
#08131E #15324F #22517F #2F70AF #4C8ECF

Accessibility & contrast

On white

8.23
#22517F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22517F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22517F#FFFFFF#000000##FFFFFF
##22517F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5481
Deuteranopia (green-blind)
#2F4B7E
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #22517f;
/* rgb */ color: rgb(34, 81, 127);
/* oklch */ color: oklch(42.6% 0.092 250.5);
Tailwind
colors: {
  custom: {
    50: '#6a81a4',
    500: '#22517f',
    950: '#000000',
  },
}
SCSS
$custom: #22517f;
$custom-light: #6a81a4;
$custom-dark: #000000;
JSON
{
  "hex": "#22517f",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 209.677,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42599,
    "c": 0.09218,
    "h": 250.5
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#22517F
secondary
#B27E4B
accent
#9347E1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #22517F

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

Preview Lab → · Contrast checker → · Palette generator →

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