#186C8E#186C8E

#186C8E is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.0% C 0.092 H 230.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#186C8E
RGBrgb(24, 108, 142)
HSLhsl(197, 71%, 33%)
HSVhsv(197, 83%, 56%)
CMYKcmyk(83.1%, 23.9%, 0%, 44.3%)
CIE-LABlab(42.57, -11.63, -25.46)
CIE-LCHlch(42.57, 27.99, 245.45°)
OKLaboklab(49.98% -0.0583 -0.0717)
OKLCHoklch(49.98% 0.092 230.9)
XYZxyz(10.6197, 12.8710, 27.5106)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186C8E #8E3A18
analogous
#188E75 #186C8E #18318E
triadic
#186C8E #8E186C #6C8E18
tetradic
#186C8E #75188E #8E3A18 #318E18
square
#186C8E #75188E #8E3A18 #318E18
split-complementary
#186C8E #8E1831 #8E7518
monochromatic
#061C25 #0F445A #186C8E #2194C2 #41B2DF

Accessibility & contrast

On white

5.88
#186C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#186C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186C8E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186C8E#FFFFFF#000000##FFFFFF
##186C8E1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6B90
Deuteranopia (green-blind)
#4B608D
Tritanopia (blue-blind)
#007577
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #186c8e;
/* rgb */ color: rgb(24, 108, 142);
/* oklch */ color: oklch(50.0% 0.092 230.9);
Tailwind
colors: {
  custom: {
    50: '#6a96af',
    500: '#186c8e',
    950: '#000000',
  },
}
SCSS
$custom: #186c8e;
$custom-light: #6a96af;
$custom-dark: #000000;
JSON
{
  "hex": "#186c8e",
  "rgb": {
    "r": 24,
    "g": 108,
    "b": 142
  },
  "hsl": {
    "h": 197.288,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4998,
    "c": 0.09242,
    "h": 230.9
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#186C8E
secondary
#C06642
accent
#6E3AEE
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #186C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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