#186872#186872

#186872 is a mid, moderate teal. Relative luminance 0.113; OKLCH L 47.6% C 0.074 H 207.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#186872
RGBrgb(24, 104, 114)
HSLhsl(187, 65%, 27%)
HSVhsv(187, 79%, 45%)
CMYKcmyk(78.9%, 8.8%, 0%, 55.3%)
CIE-LABlab(40.10, -19.40, -12.35)
CIE-LCHlch(40.10, 23.00, 212.48°)
OKLaboklab(47.61% -0.0659 -0.0344)
OKLCHoklch(47.61% 0.074 207.5)
XYZxyz(8.3629, 11.3087, 17.6584)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186872 #722218
analogous
#18724F #186872 #183B72
triadic
#186872 #721868 #687218
tetradic
#186872 #4F1872 #722218 #3B7218
square
#186872 #4F1872 #722218 #3B7218
split-complementary
#186872 #72183B #724F18
monochromatic
#051719 #0D3A3F #186872 #2396A5 #31C2D4

Accessibility & contrast

On white

6.44
#186872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#186872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186872
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186872#FFFFFF#000000##FFFFFF
##1868721.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6473
Deuteranopia (green-blind)
#525B72
Tritanopia (blue-blind)
#006D6B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #186872;
/* rgb */ color: rgb(24, 104, 114);
/* oklch */ color: oklch(47.6% 0.074 207.5);
Tailwind
colors: {
  custom: {
    50: '#66939a',
    500: '#186872',
    950: '#000000',
  },
}
SCSS
$custom: #186872;
$custom-light: #66939a;
$custom-dark: #000000;
JSON
{
  "hex": "#186872",
  "rgb": {
    "r": 24,
    "g": 104,
    "b": 114
  },
  "hsl": {
    "h": 186.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47607,
    "c": 0.07431,
    "h": 207.5
  },
  "luminance": 0.1131
}

Semantic roles & 50–950 ramp

primary
#186872
secondary
#A74A3E
accent
#5240E8
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #186872

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

Preview Lab → · Contrast checker → · Palette generator →

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