#186A7F#186A7F

#186A7F is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 48.7% C 0.081 H 219.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#186A7F
RGBrgb(24, 106, 127)
HSLhsl(192, 68%, 30%)
HSVhsv(192, 81%, 50%)
CMYKcmyk(81.1%, 16.5%, 0%, 50.2%)
CIE-LABlab(41.27, -15.95, -18.45)
CIE-LCHlch(41.27, 24.39, 229.15°)
OKLaboklab(48.72% -0.0623 -0.0516)
OKLCHoklch(48.72% 0.081 219.7)
XYZxyz(9.3599, 12.0334, 21.9039)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A7F #7F2D18
analogous
#187F61 #186A7F #18377F
triadic
#186A7F #7F186A #6A7F18
tetradic
#186A7F #61187F #7F2D18 #377F18
square
#186A7F #61187F #7F2D18 #377F18
split-complementary
#186A7F #7F1837 #7F6118
monochromatic
#05151A #0E3F4C #186A7F #2295B2 #38B8D9

Accessibility & contrast

On white

6.16
#186A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#186A7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A7F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A7F#FFFFFF#000000##FFFFFF
##186A7F1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6780
Deuteranopia (green-blind)
#4F5D7F
Tritanopia (blue-blind)
#007171
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #186a7f;
/* rgb */ color: rgb(24, 106, 127);
/* oklch */ color: oklch(48.7% 0.081 219.7);
Tailwind
colors: {
  custom: {
    50: '#6894a4',
    500: '#186a7f',
    950: '#000000',
  },
}
SCSS
$custom: #186a7f;
$custom-light: #6894a4;
$custom-dark: #000000;
JSON
{
  "hex": "#186a7f",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 127
  },
  "hsl": {
    "h": 192.233,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48723,
    "c": 0.08088,
    "h": 219.7
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#186A7F
secondary
#B3573F
accent
#603DEB
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #186A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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