#186987#186987

#186987 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 48.9% C 0.087 H 228.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#186987
RGBrgb(24, 105, 135)
HSLhsl(196, 70%, 31%)
HSVhsv(196, 82%, 53%)
CMYKcmyk(82.2%, 22.2%, 0%, 47.1%)
CIE-LABlab(41.29, -12.48, -23.25)
CIE-LCHlch(41.29, 26.38, 241.78°)
OKLaboklab(48.85% -0.058 -0.0654)
OKLCHoklch(48.85% 0.087 228.4)
XYZxyz(9.7996, 12.0454, 24.7255)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186987 #873618
analogous
#18876D #186987 #183187
triadic
#186987 #871869 #698718
tetradic
#186987 #6D1887 #873618 #318718
square
#186987 #6D1887 #873618 #318718
split-complementary
#186987 #871831 #876D18
monochromatic
#06181F #0F4153 #186987 #2191BB #3DB1DC

Accessibility & contrast

On white

6.16
#186987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#186987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186987
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186987#FFFFFF#000000##FFFFFF
##1869871.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596788
Deuteranopia (green-blind)
#4B5D87
Tritanopia (blue-blind)
#007173
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #186987;
/* rgb */ color: rgb(24, 105, 135);
/* oklch */ color: oklch(48.9% 0.087 228.4);
Tailwind
colors: {
  custom: {
    50: '#6994aa',
    500: '#186987',
    950: '#000000',
  },
}
SCSS
$custom: #186987;
$custom-light: #6994aa;
$custom-dark: #000000;
JSON
{
  "hex": "#186987",
  "rgb": {
    "r": 24,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 196.216,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.48852,
    "c": 0.08739,
    "h": 228.4
  },
  "luminance": 0.12047
}

Semantic roles & 50–950 ramp

primary
#186987
secondary
#BB6140
accent
#6B3BED
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#070D10
muted
#7A7E7F

Preview Lab

Preview with #186987

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

Preview Lab → · Contrast checker → · Palette generator →

#186987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva