#186D8E#186D8E

#186D8E is a mid, moderate cyan. Relative luminance 0.131; OKLCH L 50.2% C 0.092 H 229.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#186D8E
RGBrgb(24, 109, 142)
HSLhsl(197, 71%, 33%)
HSVhsv(197, 83%, 56%)
CMYKcmyk(83.1%, 23.2%, 0%, 44.3%)
CIE-LABlab(42.89, -12.21, -24.96)
CIE-LCHlch(42.89, 27.79, 243.94°)
OKLaboklab(50.24% -0.0593 -0.0703)
OKLCHoklch(50.24% 0.092 229.9)
XYZxyz(10.7258, 13.0831, 27.5459)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186D8E #8E3918
analogous
#188E74 #186D8E #18328E
triadic
#186D8E #8E186D #6D8E18
tetradic
#186D8E #74188E #8E3918 #328E18
square
#186D8E #74188E #8E3918 #328E18
split-complementary
#186D8E #8E1832 #8E7418
monochromatic
#061D25 #0F455A #186D8E #2195C2 #41B3DF

Accessibility & contrast

On white

5.81
#186D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#186D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186D8E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186D8E#FFFFFF#000000##FFFFFF
##186D8E1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6B90
Deuteranopia (green-blind)
#4D608E
Tritanopia (blue-blind)
#007678
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #186d8e;
/* rgb */ color: rgb(24, 109, 142);
/* oklch */ color: oklch(50.2% 0.092 229.9);
Tailwind
colors: {
  custom: {
    50: '#6b96af',
    500: '#186d8e',
    950: '#000000',
  },
}
SCSS
$custom: #186d8e;
$custom-light: #6b96af;
$custom-dark: #000000;
JSON
{
  "hex": "#186d8e",
  "rgb": {
    "r": 24,
    "g": 109,
    "b": 142
  },
  "hsl": {
    "h": 196.78,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.50235,
    "c": 0.09194,
    "h": 229.9
  },
  "luminance": 0.13084
}

Semantic roles & 50–950 ramp

primary
#186D8E
secondary
#C06542
accent
#6C3AEE
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #186D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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