#186A8E#186A8E

#186A8E is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.5% C 0.093 H 233.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#186A8E
RGBrgb(24, 106, 142)
HSLhsl(198, 71%, 33%)
HSVhsv(198, 83%, 56%)
CMYKcmyk(83.1%, 25.4%, 0%, 44.3%)
CIE-LABlab(41.93, -10.46, -26.45)
CIE-LCHlch(41.93, 28.45, 248.43°)
OKLaboklab(49.47% -0.0563 -0.0746)
OKLCHoklch(49.47% 0.093 233)
XYZxyz(10.4112, 12.4540, 27.4411)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A8E #8E3C18
analogous
#188E77 #186A8E #182F8E
triadic
#186A8E #8E186A #6A8E18
tetradic
#186A8E #77188E #8E3C18 #2F8E18
square
#186A8E #77188E #8E3C18 #2F8E18
split-complementary
#186A8E #8E182F #8E7718
monochromatic
#061C25 #0F435A #186A8E #2191C2 #41AFDF

Accessibility & contrast

On white

6.02
#186A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186A8E
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A8E#FFFFFF#000000##FFFFFF
##186A8E1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586990
Deuteranopia (green-blind)
#495E8D
Tritanopia (blue-blind)
#007476
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #186a8e;
/* rgb */ color: rgb(24, 106, 142);
/* oklch */ color: oklch(49.5% 0.093 233.0);
Tailwind
colors: {
  custom: {
    50: '#6a94af',
    500: '#186a8e',
    950: '#000000',
  },
}
SCSS
$custom: #186a8e;
$custom-light: #6a94af;
$custom-dark: #000000;
JSON
{
  "hex": "#186a8e",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 142
  },
  "hsl": {
    "h": 198.305,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.49469,
    "c": 0.09349,
    "h": 233
  },
  "luminance": 0.12455
}

Semantic roles & 50–950 ramp

primary
#186A8E
secondary
#C06842
accent
#713AEE
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #186A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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