#18517B#18517B

#18517B is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.091 H 245.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#18517B
RGBrgb(24, 81, 123)
HSLhsl(205, 67%, 29%)
HSVhsv(205, 80%, 48%)
CMYKcmyk(80.5%, 34.1%, 0%, 51.8%)
CIE-LABlab(32.94, -2.43, -28.97)
CIE-LCHlch(32.94, 29.08, 265.21°)
OKLaboklab(42.02% -0.0382 -0.0823)
OKLCHoklch(42.02% 0.091 245.1)
XYZxyz(6.8929, 7.5083, 19.8210)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18517B #7B4218
analogous
#187B74 #18517B #181F7B
triadic
#18517B #7B1851 #517B18
tetradic
#18517B #74187B #7B4218 #1F7B18
square
#18517B #74187B #7B4218 #1F7B18
split-complementary
#18517B #7B181F #7B7418
monochromatic
#05111A #0E2F48 #18517B #2273AE #3693D8

Accessibility & contrast

On white

8.39
#18517B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#18517B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18517B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18517B#FFFFFF#000000##FFFFFF
##18517B1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527D
Deuteranopia (green-blind)
#30497A
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #18517b;
/* rgb */ color: rgb(24, 81, 123);
/* oklch */ color: oklch(42.0% 0.091 245.1);
Tailwind
colors: {
  custom: {
    50: '#6581a1',
    500: '#18517b',
    950: '#000000',
  },
}
SCSS
$custom: #18517b;
$custom-light: #6581a1;
$custom-dark: #000000;
JSON
{
  "hex": "#18517b",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 123
  },
  "hsl": {
    "h": 205.455,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42019,
    "c": 0.09073,
    "h": 245.1
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#18517B
secondary
#B06F3F
accent
#873EEA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0F
muted
#7A7C7E

Preview Lab

Preview with #18517B

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

Preview Lab → · Contrast checker → · Palette generator →

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