#186887#186887

#186887 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.6% C 0.088 H 229.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#186887
RGBrgb(24, 104, 135)
HSLhsl(197, 70%, 31%)
HSVhsv(197, 82%, 53%)
CMYKcmyk(82.2%, 23%, 0%, 47.1%)
CIE-LABlab(40.97, -11.89, -23.75)
CIE-LCHlch(40.97, 26.56, 243.39°)
OKLaboklab(48.59% -0.057 -0.0668)
OKLCHoklch(48.59% 0.088 229.5)
XYZxyz(9.6984, 11.8429, 24.6917)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186887 #873718
analogous
#18876E #186887 #183087
triadic
#186887 #871868 #688718
tetradic
#186887 #6E1887 #873718 #308718
square
#186887 #6E1887 #873718 #308718
split-complementary
#186887 #871830 #876E18
monochromatic
#06181F #0F4053 #186887 #2190BB #3DB0DC

Accessibility & contrast

On white

6.23
#186887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#186887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186887
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186887#FFFFFF#000000##FFFFFF
##1868871.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586689
Deuteranopia (green-blind)
#495C87
Tritanopia (blue-blind)
#007172
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #186887;
/* rgb */ color: rgb(24, 104, 135);
/* oklch */ color: oklch(48.6% 0.088 229.5);
Tailwind
colors: {
  custom: {
    50: '#6993aa',
    500: '#186887',
    950: '#000000',
  },
}
SCSS
$custom: #186887;
$custom-light: #6993aa;
$custom-dark: #000000;
JSON
{
  "hex": "#186887",
  "rgb": {
    "r": 24,
    "g": 104,
    "b": 135
  },
  "hsl": {
    "h": 196.757,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.48594,
    "c": 0.08782,
    "h": 229.5
  },
  "luminance": 0.11844
}

Semantic roles & 50–950 ramp

primary
#186887
secondary
#BB6240
accent
#6D3BED
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#070D10
muted
#7A7E7F

Preview Lab

Preview with #186887

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

Preview Lab → · Contrast checker → · Palette generator →

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