#18517E#18517E

#18517E is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.2% C 0.095 H 246.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#18517E
RGBrgb(24, 81, 126)
HSLhsl(206, 68%, 29%)
HSVhsv(206, 81%, 49%)
CMYKcmyk(81%, 35.7%, 0%, 50.6%)
CIE-LABlab(33.10, -1.23, -30.57)
CIE-LCHlch(33.10, 30.60, 267.69°)
OKLaboklab(42.2% -0.0373 -0.0869)
OKLCHoklch(42.2% 0.095 246.8)
XYZxyz(7.0836, 7.5846, 20.8253)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18517E #7E4518
analogous
#187E78 #18517E #181E7E
triadic
#18517E #7E1851 #517E18
tetradic
#18517E #78187E #7E4518 #1E7E18
square
#18517E #78187E #7E4518 #1E7E18
split-complementary
#18517E #7E181E #7E7818
monochromatic
#05111A #0E304B #18517E #2272B1 #3792D9

Accessibility & contrast

On white

8.34
#18517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#18517E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18517E
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18517E#FFFFFF#000000##FFFFFF
##18517E1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18517e;
/* rgb */ color: rgb(24, 81, 126);
/* oklch */ color: oklch(42.2% 0.095 246.8);
Tailwind
colors: {
  custom: {
    50: '#6681a3',
    500: '#18517e',
    950: '#000000',
  },
}
SCSS
$custom: #18517e;
$custom-light: #6681a3;
$custom-dark: #000000;
JSON
{
  "hex": "#18517e",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 206.471,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42203,
    "c": 0.09461,
    "h": 246.8
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#18517E
secondary
#B2723F
accent
#8A3DEB
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #18517E

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

Preview Lab → · Contrast checker → · Palette generator →

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