#187A8A#187A8A

#187A8A is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.4% C 0.087 H 211.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#187A8A
RGBrgb(24, 122, 138)
HSLhsl(188, 70%, 32%)
HSVhsv(188, 83%, 54%)
CMYKcmyk(82.6%, 11.6%, 0%, 45.9%)
CIE-LABlab(46.90, -20.85, -16.40)
CIE-LCHlch(46.90, 26.53, 218.18°)
OKLaboklab(53.41% -0.0739 -0.0457)
OKLCHoklch(53.41% 0.087 211.7)
XYZxyz(11.9217, 15.9467, 26.4895)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A8A #8A2818
analogous
#188A61 #187A8A #18418A
triadic
#187A8A #8A187A #7A8A18
tetradic
#187A8A #61188A #8A2818 #418A18
square
#187A8A #61188A #8A2818 #418A18
split-complementary
#187A8A #8A1841 #8A6118
monochromatic
#061E22 #0F4C56 #187A8A #21A8BE #3FC7DE

Accessibility & contrast

On white

5.01
#187A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#187A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A8A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A8A#FFFFFF#000000##FFFFFF
##187A8A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D758B
Deuteranopia (green-blind)
#5E6A8A
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187a8a;
/* rgb */ color: rgb(24, 122, 138);
/* oklch */ color: oklch(53.4% 0.087 211.7);
Tailwind
colors: {
  custom: {
    50: '#6ba0ac',
    500: '#187a8a',
    950: '#000000',
  },
}
SCSS
$custom: #187a8a;
$custom-light: #6ba0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#187a8a",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 188.421,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53408,
    "c": 0.08694,
    "h": 211.7
  },
  "luminance": 0.15948
}

Semantic roles & 50–950 ramp

primary
#187A8A
secondary
#BD5240
accent
#543BED
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #187A8A

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

Preview Lab → · Contrast checker → · Palette generator →

#187A8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva