#187787#187787

#187787 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.5% C 0.085 H 212.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#187787
RGBrgb(24, 119, 135)
HSLhsl(189, 70%, 31%)
HSVhsv(189, 82%, 53%)
CMYKcmyk(82.2%, 11.9%, 0%, 47.1%)
CIE-LABlab(45.82, -20.28, -16.27)
CIE-LCHlch(45.82, 26.00, 218.74°)
OKLaboklab(52.49% -0.0722 -0.0454)
OKLCHoklch(52.49% 0.085 212.2)
XYZxyz(11.3448, 15.1357, 25.2405)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187787 #872818
analogous
#18875F #187787 #183F87
triadic
#187787 #871877 #778718
tetradic
#187787 #5F1887 #872818 #3F8718
square
#187787 #5F1887 #872818 #3F8718
split-complementary
#187787 #87183F #875F18
monochromatic
#061B1F #0F4953 #187787 #21A5BB #3DC5DC

Accessibility & contrast

On white

5.21
#187787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#187787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187787
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187787#FFFFFF#000000##FFFFFF
##1877871.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#5C6887
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187787;
/* rgb */ color: rgb(24, 119, 135);
/* oklch */ color: oklch(52.5% 0.085 212.2);
Tailwind
colors: {
  custom: {
    50: '#6a9eaa',
    500: '#187787',
    950: '#000000',
  },
}
SCSS
$custom: #187787;
$custom-light: #6a9eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#187787",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 135
  },
  "hsl": {
    "h": 188.649,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52494,
    "c": 0.08527,
    "h": 212.2
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#187787
secondary
#BB5240
accent
#553BED
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #187787

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

Preview Lab → · Contrast checker → · Palette generator →

#187787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva