#186A7D#186A7D

#186A7D is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 48.6% C 0.080 H 217.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#186A7D
RGBrgb(24, 106, 125)
HSLhsl(191, 68%, 29%)
HSVhsv(191, 81%, 49%)
CMYKcmyk(80.8%, 15.2%, 0%, 51%)
CIE-LABlab(41.19, -16.67, -17.36)
CIE-LCHlch(41.19, 24.07, 226.17°)
OKLaboklab(48.63% -0.0631 -0.0485)
OKLCHoklch(48.63% 0.08 217.6)
XYZxyz(9.2308, 11.9818, 21.2243)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A7D #7D2B18
analogous
#187D5E #186A7D #18387D
triadic
#186A7D #7D186A #6A7D18
tetradic
#186A7D #5E187D #7D2B18 #387D18
square
#186A7D #5E187D #7D2B18 #387D18
split-complementary
#186A7D #7D1838 #7D5E18
monochromatic
#05161A #0E3E4A #186A7D #2296B0 #37BAD9

Accessibility & contrast

On white

6.18
#186A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#186A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A7D
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A7D#FFFFFF#000000##FFFFFF
##186A7D1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E677E
Deuteranopia (green-blind)
#505D7D
Tritanopia (blue-blind)
#007170
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #186a7d;
/* rgb */ color: rgb(24, 106, 125);
/* oklch */ color: oklch(48.6% 0.080 217.6);
Tailwind
colors: {
  custom: {
    50: '#6794a2',
    500: '#186a7d',
    950: '#000000',
  },
}
SCSS
$custom: #186a7d;
$custom-light: #6794a2;
$custom-dark: #000000;
JSON
{
  "hex": "#186a7d",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 125
  },
  "hsl": {
    "h": 191.287,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4863,
    "c": 0.07962,
    "h": 217.6
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#186A7D
secondary
#B2553F
accent
#5E3DEB
background
#F6F9FA
surface
#EBF1F3
border
#C6CBCD
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #186A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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