#18518F#18518F

#18518F is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.3% C 0.118 H 253.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#18518F
RGBrgb(24, 81, 143)
HSLhsl(211, 71%, 33%)
HSVhsv(211, 83%, 56%)
CMYKcmyk(83.2%, 43.4%, 0%, 43.9%)
CIE-LABlab(34.11, 5.62, -39.41)
CIE-LCHlch(34.11, 39.81, 278.11°)
OKLaboklab(43.32% -0.0328 -0.1129)
OKLCHoklch(43.32% 0.118 253.8)
XYZxyz(8.2752, 8.0612, 27.1011)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18518F #8F5618
analogous
#188C8F #18518F #1B188F
triadic
#18518F #8F1851 #518F18
tetradic
#18518F #8F188C #8F5618 #188F1B
square
#18518F #8F188C #8F5618 #188F1B
split-complementary
#18518F #8F1B18 #8C8F18
monochromatic
#061626 #0F335B #18518F #216FC3 #428DDF

Accessibility & contrast

On white

8.04
#18518F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#18518F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18518F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18518F#FFFFFF#000000##FFFFFF
##18518F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325691
Deuteranopia (green-blind)
#1C4B8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #18518f;
/* rgb */ color: rgb(24, 81, 143);
/* oklch */ color: oklch(43.3% 0.118 253.8);
Tailwind
colors: {
  custom: {
    50: '#6a81b0',
    500: '#18518f',
    950: '#000000',
  },
}
SCSS
$custom: #18518f;
$custom-light: #6a81b0;
$custom-dark: #000000;
JSON
{
  "hex": "#18518f",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 211.261,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43319,
    "c": 0.11753,
    "h": 253.8
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#18518F
secondary
#C08443
accent
#983AEE
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #18518F

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

Preview Lab → · Contrast checker → · Palette generator →

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