#186C8A#186C8A

#186C8A is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 49.8% C 0.089 H 227.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#186C8A
RGBrgb(24, 108, 138)
HSLhsl(196, 70%, 32%)
HSVhsv(196, 83%, 54%)
CMYKcmyk(82.6%, 21.7%, 0%, 45.9%)
CIE-LABlab(42.39, -13.10, -23.34)
CIE-LCHlch(42.39, 26.77, 240.69°)
OKLaboklab(49.78% -0.0598 -0.0656)
OKLCHoklch(49.78% 0.089 227.6)
XYZxyz(10.3248, 12.7530, 25.9572)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186C8A #8A3618
analogous
#188A6F #186C8A #18338A
triadic
#186C8A #8A186C #6C8A18
tetradic
#186C8A #6F188A #8A3618 #338A18
square
#186C8A #6F188A #8A3618 #338A18
split-complementary
#186C8A #8A1833 #8A6F18
monochromatic
#061A22 #0F4356 #186C8A #2195BE #3FB4DE

Accessibility & contrast

On white

5.91
#186C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#186C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186C8A
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186C8A#FFFFFF#000000##FFFFFF
##186C8A1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8B
Deuteranopia (green-blind)
#4D5F8A
Tritanopia (blue-blind)
#007576
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #186c8a;
/* rgb */ color: rgb(24, 108, 138);
/* oklch */ color: oklch(49.8% 0.089 227.6);
Tailwind
colors: {
  custom: {
    50: '#6a96ac',
    500: '#186c8a',
    950: '#000000',
  },
}
SCSS
$custom: #186c8a;
$custom-light: #6a96ac;
$custom-dark: #000000;
JSON
{
  "hex": "#186c8a",
  "rgb": {
    "r": 24,
    "g": 108,
    "b": 138
  },
  "hsl": {
    "h": 195.789,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49777,
    "c": 0.0888,
    "h": 227.6
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#186C8A
secondary
#BD6140
accent
#6A3BED
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#070D10
muted
#7A7E7F

Preview Lab

Preview with #186C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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