#187888#187888

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

Color values

HEX#187888
RGBrgb(24, 120, 136)
HSLhsl(189, 70%, 31%)
HSVhsv(189, 82%, 53%)
CMYKcmyk(82.4%, 11.8%, 0%, 46.7%)
CIE-LABlab(46.18, -20.47, -16.32)
CIE-LCHlch(46.18, 26.18, 218.55°)
OKLaboklab(52.8% -0.0728 -0.0455)
OKLCHoklch(52.8% 0.086 212)
XYZxyz(11.5352, 15.4033, 25.6529)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187888 #882818
analogous
#188860 #187888 #184088
triadic
#187888 #881878 #788818
tetradic
#187888 #601888 #882818 #408818
square
#187888 #601888 #882818 #408818
split-complementary
#187888 #881840 #886018
monochromatic
#061C20 #0F4A54 #187888 #21A6BC #3EC6DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187888#FFFFFF#000000##FFFFFF
##1878881.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)
#6C7489
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187888;
/* rgb */ color: rgb(24, 120, 136);
/* oklch */ color: oklch(52.8% 0.086 212.0);
Tailwind
colors: {
  custom: {
    50: '#6b9faa',
    500: '#187888',
    950: '#000000',
  },
}
SCSS
$custom: #187888;
$custom-light: #6b9faa;
$custom-dark: #000000;
JSON
{
  "hex": "#187888",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 136
  },
  "hsl": {
    "h": 188.571,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52799,
    "c": 0.08584,
    "h": 212
  },
  "luminance": 0.15405
}

Semantic roles & 50–950 ramp

primary
#187888
secondary
#BC5240
accent
#543BED
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #187888

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

Preview Lab → · Contrast checker → · Palette generator →

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