#18579F#18579F

#18579F is a mid, vivid cyan. Relative luminance 0.095; OKLCH L 45.9% C 0.132 H 255.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#18579F
RGBrgb(24, 87, 159)
HSLhsl(212, 74%, 36%)
HSVhsv(212, 85%, 62%)
CMYKcmyk(84.9%, 45.3%, 0%, 37.6%)
CIE-LABlab(36.95, 8.12, -44.52)
CIE-LCHlch(36.95, 45.26, 280.33°)
OKLaboklab(45.86% -0.0343 -0.1278)
OKLCHoklch(45.86% 0.132 255)
XYZxyz(10.0405, 9.5125, 34.1011)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18579F #9F6018
analogous
#189A9F #18579F #1D189F
triadic
#18579F #9F1857 #579F18
tetradic
#18579F #9F189A #9F6018 #189F1D
square
#18579F #9F189A #9F6018 #189F1D
split-complementary
#18579F #9F1D18 #9A9F18
monochromatic
#081D35 #103A6A #18579F #2074D4 #4D94E4

Accessibility & contrast

On white

7.23
#18579F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#18579F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18579F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18579F#FFFFFF#000000##FFFFFF
##18579F1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315DA2
Deuteranopia (green-blind)
#13519E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #18579f;
/* rgb */ color: rgb(24, 87, 159);
/* oklch */ color: oklch(45.9% 0.132 255.0);
Tailwind
colors: {
  custom: {
    50: '#6e85bc',
    500: '#18579f',
    950: '#000000',
  },
}
SCSS
$custom: #18579f;
$custom-light: #6e85bc;
$custom-dark: #000000;
JSON
{
  "hex": "#18579f",
  "rgb": {
    "r": 24,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 212,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45856,
    "c": 0.13229,
    "h": 255
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#18579F
secondary
#C68D4D
accent
#9A37F0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B12
muted
#7B7C81

Preview Lab

Preview with #18579F

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

Preview Lab → · Contrast checker → · Palette generator →

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