#186F7E#186F7E

#186F7E is a mid, moderate teal. Relative luminance 0.131; OKLCH L 50.0% C 0.080 H 212.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#186F7E
RGBrgb(24, 111, 126)
HSLhsl(189, 68%, 29%)
HSVhsv(189, 81%, 49%)
CMYKcmyk(81%, 11.9%, 0%, 50.6%)
CIE-LABlab(42.87, -19.07, -15.40)
CIE-LCHlch(42.87, 24.51, 218.92°)
OKLaboklab(50% -0.0679 -0.0429)
OKLCHoklch(50% 0.08 212.3)
XYZxyz(9.8254, 13.0682, 21.7392)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F7E #7E2718
analogous
#187E5A #186F7E #183C7E
triadic
#186F7E #7E186F #6F7E18
tetradic
#186F7E #5A187E #7E2718 #3C7E18
square
#186F7E #5A187E #7E2718 #3C7E18
split-complementary
#186F7E #7E183C #7E5A18
monochromatic
#05171A #0E424B #186F7E #229CB1 #37C1D9

Accessibility & contrast

On white

5.81
#186F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#186F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186F7E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F7E#FFFFFF#000000##FFFFFF
##186F7E1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636B7F
Deuteranopia (green-blind)
#56617E
Tritanopia (blue-blind)
#007574
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #186f7e;
/* rgb */ color: rgb(24, 111, 126);
/* oklch */ color: oklch(50.0% 0.080 212.3);
Tailwind
colors: {
  custom: {
    50: '#6898a3',
    500: '#186f7e',
    950: '#000000',
  },
}
SCSS
$custom: #186f7e;
$custom-light: #6898a3;
$custom-dark: #000000;
JSON
{
  "hex": "#186f7e",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 126
  },
  "hsl": {
    "h": 188.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.08034,
    "h": 212.3
  },
  "luminance": 0.13069
}

Semantic roles & 50–950 ramp

primary
#186F7E
secondary
#B2503F
accent
#573DEB
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #186F7E

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

Preview Lab → · Contrast checker → · Palette generator →

#186F7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva