#18519F#18519F

#18519F is a dark, vivid cyan. Relative luminance 0.086; OKLCH L 44.5% C 0.140 H 257.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#18519F
RGBrgb(24, 81, 159)
HSLhsl(215, 74%, 36%)
HSVhsv(215, 85%, 62%)
CMYKcmyk(84.9%, 49.1%, 0%, 37.6%)
CIE-LABlab(35.16, 12.11, -47.40)
CIE-LCHlch(35.16, 48.92, 284.33°)
OKLaboklab(44.47% -0.0296 -0.1364)
OKLCHoklch(44.47% 0.14 257.7)
XYZxyz(9.5748, 8.5811, 33.9458)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18519F #9F6618
analogous
#18949F #18519F #23189F
triadic
#18519F #9F1851 #519F18
tetradic
#18519F #9F1894 #9F6618 #189F23
square
#18519F #9F1894 #9F6618 #189F23
split-complementary
#18519F #9F2318 #949F18
monochromatic
#081B35 #10366A #18519F #206CD4 #4D8DE4

Accessibility & contrast

On white

7.73
#18519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#18519F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18519F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18519F#FFFFFF#000000##FFFFFF
##18519F1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2359A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #18519f;
/* rgb */ color: rgb(24, 81, 159);
/* oklch */ color: oklch(44.5% 0.140 257.7);
Tailwind
colors: {
  custom: {
    50: '#6e81bc',
    500: '#18519f',
    950: '#000000',
  },
}
SCSS
$custom: #18519f;
$custom-light: #6e81bc;
$custom-dark: #000000;
JSON
{
  "hex": "#18519f",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 214.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44474,
    "c": 0.13955,
    "h": 257.7
  },
  "luminance": 0.08582
}

Semantic roles & 50–950 ramp

primary
#18519F
secondary
#C6934D
accent
#A237F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #18519F

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

Preview Lab → · Contrast checker → · Palette generator →

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