#18518A#18518A

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

Color values

HEX#18518A
RGBrgb(24, 81, 138)
HSLhsl(210, 70%, 32%)
HSVhsv(210, 83%, 54%)
CMYKcmyk(82.6%, 41.3%, 0%, 45.9%)
CIE-LABlab(33.80, 3.59, -36.85)
CIE-LCHlch(33.80, 37.02, 275.56°)
OKLaboklab(42.98% -0.034 -0.1053)
OKLCHoklch(42.98% 0.111 252.1)
XYZxyz(7.9048, 7.9131, 25.1506)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18518A #8A5118
analogous
#188A8A #18518A #18188A
triadic
#18518A #8A1851 #518A18
tetradic
#18518A #8A188A #8A5118 #188A18
square
#18518A #8A188A #8A5118 #188A18
split-complementary
#18518A #8A1818 #8A8A18
monochromatic
#061422 #0F3256 #18518A #2170BE #3F8EDE

Accessibility & contrast

On white

8.13
#18518A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18518A
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18518A#FFFFFF#000000##FFFFFF
##18518A1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.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: #18518a;
/* rgb */ color: rgb(24, 81, 138);
/* oklch */ color: oklch(43.0% 0.111 252.1);
Tailwind
colors: {
  custom: {
    50: '#6981ac',
    500: '#18518a',
    950: '#000000',
  },
}
SCSS
$custom: #18518a;
$custom-light: #6981ac;
$custom-dark: #000000;
JSON
{
  "hex": "#18518a",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 210,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42978,
    "c": 0.11068,
    "h": 252.1
  },
  "luminance": 0.07914
}

Semantic roles & 50–950 ramp

primary
#18518A
secondary
#BD7F40
accent
#943BED
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #18518A

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

Preview Lab → · Contrast checker → · Palette generator →

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