#17518A#17518A

#17518A is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.111 H 251.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#17518A
RGBrgb(23, 81, 138)
HSLhsl(210, 71%, 32%)
HSVhsv(210, 83%, 54%)
CMYKcmyk(83.3%, 41.3%, 0%, 45.9%)
CIE-LABlab(33.78, 3.48, -36.89)
CIE-LCHlch(33.78, 37.06, 275.40°)
OKLaboklab(42.95% -0.0345 -0.1055)
OKLCHoklch(42.95% 0.111 251.9)
XYZxyz(7.8815, 7.9010, 25.1495)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17518A #8A5017
analogous
#178A8A #17518A #17188A
triadic
#17518A #8A1751 #518A17
tetradic
#17518A #8A178A #8A5017 #188A17
square
#17518A #8A178A #8A5017 #188A17
split-complementary
#17518A #8A1718 #8A8A17
monochromatic
#061321 #0E3256 #17518A #2070BE #3D8EDF

Accessibility & contrast

On white

8.14
#17518A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#17518A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17518A
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17518A#FFFFFF#000000##FFFFFF
##17518A1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#224B89
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #17518a;
/* rgb */ color: rgb(23, 81, 138);
/* oklch */ color: oklch(43.0% 0.111 251.9);
Tailwind
colors: {
  custom: {
    50: '#6881ac',
    500: '#17518a',
    950: '#000000',
  },
}
SCSS
$custom: #17518a;
$custom-light: #6881ac;
$custom-dark: #000000;
JSON
{
  "hex": "#17518a",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 209.739,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42952,
    "c": 0.11098,
    "h": 251.9
  },
  "luminance": 0.07902
}

Semantic roles & 50–950 ramp

primary
#17518A
secondary
#BE7E3F
accent
#933AEE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #17518A

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

Preview Lab → · Contrast checker → · Palette generator →

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