#187981#187981

#187981 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.8% C 0.084 H 203.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#187981
RGBrgb(24, 121, 129)
HSLhsl(185, 69%, 30%)
HSVhsv(185, 81%, 51%)
CMYKcmyk(81.4%, 6.2%, 0%, 49.4%)
CIE-LABlab(46.25, -23.36, -12.06)
CIE-LCHlch(46.25, 26.29, 207.30°)
OKLaboklab(52.77% -0.0769 -0.0335)
OKLCHoklch(52.77% 0.084 203.6)
XYZxyz(11.1747, 15.4525, 23.1583)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187981 #812018
analogous
#188154 #187981 #184581
triadic
#187981 #811879 #798118
tetradic
#187981 #541881 #812018 #458118
square
#187981 #541881 #812018 #458118
split-complementary
#187981 #811845 #815418
monochromatic
#05181A #0E494D #187981 #22A9B5 #39CEDA

Accessibility & contrast

On white

5.13
#187981 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#187981 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187981
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187981#FFFFFF#000000##FFFFFF
##1879811.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7482
Deuteranopia (green-blind)
#606981
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187981;
/* rgb */ color: rgb(24, 121, 129);
/* oklch */ color: oklch(52.8% 0.084 203.6);
Tailwind
colors: {
  custom: {
    50: '#6aa0a5',
    500: '#187981',
    950: '#000000',
  },
}
SCSS
$custom: #187981;
$custom-light: #6aa0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#187981",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 129
  },
  "hsl": {
    "h": 184.571,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.08392,
    "h": 203.6
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#187981
secondary
#B54940
accent
#4A3CEB
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #187981

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

Preview Lab → · Contrast checker → · Palette generator →

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