#18517D#18517D

#18517D is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.1% C 0.093 H 246.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#18517D
RGBrgb(24, 81, 125)
HSLhsl(206, 68%, 29%)
HSVhsv(206, 81%, 49%)
CMYKcmyk(80.8%, 35.2%, 0%, 51%)
CIE-LABlab(33.05, -1.63, -30.04)
CIE-LCHlch(33.05, 30.09, 266.89°)
OKLaboklab(42.14% -0.0376 -0.0854)
OKLCHoklch(42.14% 0.093 246.2)
XYZxyz(7.0194, 7.5589, 20.4871)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18517D #7D4418
analogous
#187D77 #18517D #181E7D
triadic
#18517D #7D1851 #517D18
tetradic
#18517D #77187D #7D4418 #1E7D18
square
#18517D #77187D #7D4418 #1E7D18
split-complementary
#18517D #7D181E #7D7718
monochromatic
#05111A #0E304A #18517D #2272B0 #3792D9

Accessibility & contrast

On white

8.36
#18517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18517D
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18517D#FFFFFF#000000##FFFFFF
##18517D1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537F
Deuteranopia (green-blind)
#2E4A7C
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #18517d;
/* rgb */ color: rgb(24, 81, 125);
/* oklch */ color: oklch(42.1% 0.093 246.2);
Tailwind
colors: {
  custom: {
    50: '#6681a3',
    500: '#18517d',
    950: '#000000',
  },
}
SCSS
$custom: #18517d;
$custom-light: #6681a3;
$custom-dark: #000000;
JSON
{
  "hex": "#18517d",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 206.139,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42141,
    "c": 0.0933,
    "h": 246.2
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#18517D
secondary
#B2713F
accent
#893DEB
background
#F6F7FA
surface
#EBEEF3
border
#C6C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #18517D

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

Preview Lab → · Contrast checker → · Palette generator →

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