#187887#187887

#187887 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.8% C 0.085 H 211.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#187887
RGBrgb(24, 120, 135)
HSLhsl(188, 70%, 31%)
HSVhsv(188, 82%, 53%)
CMYKcmyk(82.2%, 11.1%, 0%, 47.1%)
CIE-LABlab(46.14, -20.82, -15.78)
CIE-LCHlch(46.14, 26.12, 217.16°)
OKLaboklab(52.76% -0.0732 -0.044)
OKLCHoklch(52.76% 0.085 211)
XYZxyz(11.4644, 15.3750, 25.2804)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187887 #872718
analogous
#18875E #187887 #184087
triadic
#187887 #871878 #788718
tetradic
#187887 #5E1887 #872718 #408718
square
#187887 #5E1887 #872718 #408718
split-complementary
#187887 #871840 #875E18
monochromatic
#061C1F #0F4A53 #187887 #21A6BB #3DC7DC

Accessibility & contrast

On white

5.15
#187887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#187887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187887
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187887#FFFFFF#000000##FFFFFF
##1878871.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7388
Deuteranopia (green-blind)
#5D6987
Tritanopia (blue-blind)
#007E7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187887;
/* rgb */ color: rgb(24, 120, 135);
/* oklch */ color: oklch(52.8% 0.085 211.0);
Tailwind
colors: {
  custom: {
    50: '#6b9faa',
    500: '#187887',
    950: '#000000',
  },
}
SCSS
$custom: #187887;
$custom-light: #6b9faa;
$custom-dark: #000000;
JSON
{
  "hex": "#187887",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 135
  },
  "hsl": {
    "h": 188.108,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52756,
    "c": 0.08541,
    "h": 211
  },
  "luminance": 0.15376
}

Semantic roles & 50–950 ramp

primary
#187887
secondary
#BB5140
accent
#533BED
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #187887

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

Preview Lab → · Contrast checker → · Palette generator →

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