#18518D#18518D

#18518D is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.115 H 253.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#18518D
RGBrgb(24, 81, 141)
HSLhsl(211, 71%, 32%)
HSVhsv(211, 83%, 55%)
CMYKcmyk(83%, 42.6%, 0%, 44.7%)
CIE-LABlab(33.99, 4.80, -38.39)
CIE-LCHlch(33.99, 38.69, 277.13°)
OKLaboklab(43.18% -0.0332 -0.1099)
OKLCHoklch(43.18% 0.115 253.2)
XYZxyz(8.1250, 8.0011, 26.3103)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18518D #8D5418
analogous
#188C8D #18518D #19188D
triadic
#18518D #8D1851 #518D18
tetradic
#18518D #8D188C #8D5418 #188D19
square
#18518D #8D188C #8D5418 #188D19
split-complementary
#18518D #8D1918 #8C8D18
monochromatic
#061524 #0F3359 #18518D #216FC1 #418EDF

Accessibility & contrast

On white

8.08
#18518D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#18518D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18518D
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18518D#FFFFFF#000000##FFFFFF
##18518D1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33568F
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #18518d;
/* rgb */ color: rgb(24, 81, 141);
/* oklch */ color: oklch(43.2% 0.115 253.2);
Tailwind
colors: {
  custom: {
    50: '#6981af',
    500: '#18518d',
    950: '#000000',
  },
}
SCSS
$custom: #18518d;
$custom-light: #6981af;
$custom-dark: #000000;
JSON
{
  "hex": "#18518d",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 210.769,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43182,
    "c": 0.11479,
    "h": 253.2
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#18518D
secondary
#BF8242
accent
#963AEE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #18518D

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

Preview Lab → · Contrast checker → · Palette generator →

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