#18518C#18518C

#18518C is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.1% C 0.113 H 252.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#18518C
RGBrgb(24, 81, 140)
HSLhsl(211, 71%, 32%)
HSVhsv(211, 83%, 55%)
CMYKcmyk(82.9%, 42.1%, 0%, 45.1%)
CIE-LABlab(33.92, 4.40, -37.88)
CIE-LCHlch(33.92, 38.13, 276.63°)
OKLaboklab(43.11% -0.0335 -0.1084)
OKLCHoklch(43.11% 0.113 252.8)
XYZxyz(8.0510, 7.9715, 25.9202)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18518C #8C5318
analogous
#188B8C #18518C #19188C
triadic
#18518C #8C1851 #518C18
tetradic
#18518C #8C188B #8C5318 #188C19
square
#18518C #8C188B #8C5318 #188C19
split-complementary
#18518C #8C1918 #8B8C18
monochromatic
#061524 #0F3358 #18518C #216FC0 #408EDE

Accessibility & contrast

On white

8.09
#18518C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#18518C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18518C
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18518C#FFFFFF#000000##FFFFFF
##18518C1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558E
Deuteranopia (green-blind)
#204B8B
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #18518c;
/* rgb */ color: rgb(24, 81, 140);
/* oklch */ color: oklch(43.1% 0.113 252.8);
Tailwind
colors: {
  custom: {
    50: '#6981ae',
    500: '#18518c',
    950: '#000000',
  },
}
SCSS
$custom: #18518c;
$custom-light: #6981ae;
$custom-dark: #000000;
JSON
{
  "hex": "#18518c",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 140
  },
  "hsl": {
    "h": 210.517,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43114,
    "c": 0.11341,
    "h": 252.8
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#18518C
secondary
#BF8141
accent
#953AED
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #18518C

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

Preview Lab → · Contrast checker → · Palette generator →

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