#18798F#18798F

#18798F is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.4% C 0.089 H 217.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#18798F
RGBrgb(24, 121, 143)
HSLhsl(191, 71%, 33%)
HSVhsv(191, 83%, 56%)
CMYKcmyk(83.2%, 15.4%, 0%, 43.9%)
CIE-LABlab(46.78, -18.58, -19.55)
CIE-LCHlch(46.78, 26.97, 226.45°)
OKLaboklab(53.37% -0.0708 -0.0547)
OKLCHoklch(53.37% 0.089 217.7)
XYZxyz(12.1699, 15.8506, 28.3993)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18798F #8F2E18
analogous
#188F69 #18798F #183E8F
triadic
#18798F #8F1879 #798F18
tetradic
#18798F #69188F #8F2E18 #3E8F18
square
#18798F #69188F #8F2E18 #3E8F18
split-complementary
#18798F #8F183E #8F6918
monochromatic
#062026 #0F4D5B #18798F #21A5C3 #42C2DF

Accessibility & contrast

On white

5.04
#18798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#18798F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18798F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18798F#FFFFFF#000000##FFFFFF
##18798F1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7590
Deuteranopia (green-blind)
#5B6A8F
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #18798f;
/* rgb */ color: rgb(24, 121, 143);
/* oklch */ color: oklch(53.4% 0.089 217.7);
Tailwind
colors: {
  custom: {
    50: '#6ca0af',
    500: '#18798f',
    950: '#000000',
  },
}
SCSS
$custom: #18798f;
$custom-light: #6ca0af;
$custom-dark: #000000;
JSON
{
  "hex": "#18798f",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 191.092,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53371,
    "c": 0.08945,
    "h": 217.7
  },
  "luminance": 0.15852
}

Semantic roles & 50–950 ramp

primary
#18798F
secondary
#C05A43
accent
#5B3AEE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #18798F

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

Preview Lab → · Contrast checker → · Palette generator →

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