#18518B#18518B

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

Color values

HEX#18518B
RGBrgb(24, 81, 139)
HSLhsl(210, 71%, 32%)
HSVhsv(210, 83%, 55%)
CMYKcmyk(82.7%, 41.7%, 0%, 45.5%)
CIE-LABlab(33.86, 3.99, -37.36)
CIE-LCHlch(33.86, 37.58, 276.10°)
OKLaboklab(43.05% -0.0337 -0.1069)
OKLCHoklch(43.05% 0.112 252.5)
XYZxyz(7.9776, 7.9422, 25.5336)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18518B #8B5218
analogous
#188B8B #18518B #19188B
triadic
#18518B #8B1851 #518B18
tetradic
#18518B #8B188B #8B5218 #188B19
square
#18518B #8B188B #8B5218 #188B19
split-complementary
#18518B #8B1918 #8B8B18
monochromatic
#061423 #0F3357 #18518B #216FBF #3F8EDE

Accessibility & contrast

On white

8.11
#18518B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18518B
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18518B#FFFFFF#000000##FFFFFF
##18518B1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558D
Deuteranopia (green-blind)
#214B8A
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #18518b;
/* rgb */ color: rgb(24, 81, 139);
/* oklch */ color: oklch(43.0% 0.112 252.5);
Tailwind
colors: {
  custom: {
    50: '#6981ad',
    500: '#18518b',
    950: '#000000',
  },
}
SCSS
$custom: #18518b;
$custom-light: #6981ad;
$custom-dark: #000000;
JSON
{
  "hex": "#18518b",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 139
  },
  "hsl": {
    "h": 210.261,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43046,
    "c": 0.11205,
    "h": 252.5
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18518B

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

Preview Lab → · Contrast checker → · Palette generator →

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