#18879B#18879B

#18879B is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.5% C 0.096 H 213.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#18879B
RGBrgb(24, 135, 155)
HSLhsl(189, 73%, 35%)
HSVhsv(189, 85%, 61%)
CMYKcmyk(84.5%, 12.9%, 0%, 39.2%)
CIE-LABlab(51.71, -21.92, -19.02)
CIE-LCHlch(51.71, 29.02, 220.95°)
OKLaboklab(57.5% -0.0796 -0.0531)
OKLCHoklch(57.5% 0.096 213.7)
XYZxyz(14.9545, 19.8868, 34.0543)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18879B #9B2C18
analogous
#189B6D #18879B #18469B
triadic
#18879B #9B1887 #879B18
tetradic
#18879B #6D189B #9B2C18 #469B18
square
#18879B #6D189B #9B2C18 #469B18
split-complementary
#18879B #9B1846 #9B6D18
monochromatic
#082B31 #105966 #18879B #20B5D0 #4ACCE3

Accessibility & contrast

On white

4.22
#18879B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#18879B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18879B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18879B#FFFFFF#000000##000000
##18879B1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78829C
Deuteranopia (green-blind)
#68769B
Tritanopia (blue-blind)
#008F8D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #18879b;
/* rgb */ color: rgb(24, 135, 155);
/* oklch */ color: oklch(57.5% 0.096 213.7);
Tailwind
colors: {
  custom: {
    50: '#6faab8',
    500: '#18879b',
    950: '#000000',
  },
}
SCSS
$custom: #18879b;
$custom-light: #6faab8;
$custom-dark: #000000;
JSON
{
  "hex": "#18879b",
  "rgb": {
    "r": 24,
    "g": 135,
    "b": 155
  },
  "hsl": {
    "h": 189.16,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57501,
    "c": 0.09569,
    "h": 213.7
  },
  "luminance": 0.19889
}

Semantic roles & 50–950 ramp

primary
#18879B
secondary
#C55D4A
accent
#5438F0
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #18879B

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

Preview Lab → · Contrast checker → · Palette generator →

#18879B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva