#18517C#18517C

#18517C is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.092 H 245.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#18517C
RGBrgb(24, 81, 124)
HSLhsl(206, 68%, 29%)
HSVhsv(206, 81%, 49%)
CMYKcmyk(80.6%, 34.7%, 0%, 51.4%)
CIE-LABlab(32.99, -2.03, -29.51)
CIE-LCHlch(32.99, 29.58, 266.06°)
OKLaboklab(42.08% -0.0379 -0.0838)
OKLCHoklch(42.08% 0.092 245.7)
XYZxyz(6.9558, 7.5335, 20.1524)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18517C #7C4318
analogous
#187C75 #18517C #181F7C
triadic
#18517C #7C1851 #517C18
tetradic
#18517C #75187C #7C4318 #1F7C18
square
#18517C #75187C #7C4318 #1F7C18
split-complementary
#18517C #7C181F #7C7518
monochromatic
#05111A #0E3049 #18517C #2272AF #3693D8

Accessibility & contrast

On white

8.38
#18517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#18517C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18517C
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18517C#FFFFFF#000000##FFFFFF
##18517C1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#2F497B
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #18517c;
/* rgb */ color: rgb(24, 81, 124);
/* oklch */ color: oklch(42.1% 0.092 245.7);
Tailwind
colors: {
  custom: {
    50: '#6581a2',
    500: '#18517c',
    950: '#000000',
  },
}
SCSS
$custom: #18517c;
$custom-light: #6581a2;
$custom-dark: #000000;
JSON
{
  "hex": "#18517c",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 205.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4208,
    "c": 0.09202,
    "h": 245.7
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#18517C
secondary
#B1703F
accent
#883DEA
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #18517C

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

Preview Lab → · Contrast checker → · Palette generator →

#18517C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva