#186A8D#186A8D

#186A8D is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.4% C 0.093 H 232.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#186A8D
RGBrgb(24, 106, 141)
HSLhsl(198, 71%, 32%)
HSVhsv(198, 83%, 55%)
CMYKcmyk(83%, 24.8%, 0%, 44.7%)
CIE-LABlab(41.88, -10.83, -25.93)
CIE-LCHlch(41.88, 28.10, 247.33°)
OKLaboklab(49.42% -0.0567 -0.0731)
OKLCHoklch(49.42% 0.093 232.2)
XYZxyz(10.3365, 12.4241, 27.0474)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A8D #8D3B18
analogous
#188D76 #186A8D #182F8D
triadic
#186A8D #8D186A #6A8D18
tetradic
#186A8D #76188D #8D3B18 #2F8D18
square
#186A8D #76188D #8D3B18 #2F8D18
split-complementary
#186A8D #8D182F #8D7618
monochromatic
#061B24 #0F4359 #186A8D #2191C1 #41AFDF

Accessibility & contrast

On white

6.03
#186A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#186A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A8D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A8D#FFFFFF#000000##FFFFFF
##186A8D1.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58698F
Deuteranopia (green-blind)
#495E8C
Tritanopia (blue-blind)
#007376
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #186a8d;
/* rgb */ color: rgb(24, 106, 141);
/* oklch */ color: oklch(49.4% 0.093 232.2);
Tailwind
colors: {
  custom: {
    50: '#6a94ae',
    500: '#186a8d',
    950: '#000000',
  },
}
SCSS
$custom: #186a8d;
$custom-light: #6a94ae;
$custom-dark: #000000;
JSON
{
  "hex": "#186a8d",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 141
  },
  "hsl": {
    "h": 197.949,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.09251,
    "h": 232.2
  },
  "luminance": 0.12425
}

Semantic roles & 50–950 ramp

primary
#186A8D
secondary
#BF6742
accent
#703AEE
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #186A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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