#187A9F#187A9F

#187A9F is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.4% C 0.101 H 229.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#187A9F
RGBrgb(24, 122, 159)
HSLhsl(196, 74%, 36%)
HSVhsv(196, 85%, 62%)
CMYKcmyk(84.9%, 23.3%, 0%, 37.6%)
CIE-LABlab(47.77, -13.41, -27.42)
CIE-LCHlch(47.77, 30.53, 243.94°)
OKLaboklab(54.39% -0.0654 -0.0773)
OKLCHoklch(54.39% 0.101 229.7)
XYZxyz(13.5916, 16.6147, 35.2848)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A9F #9F3D18
analogous
#189F80 #187A9F #18379F
triadic
#187A9F #9F187A #7A9F18
tetradic
#187A9F #80189F #9F3D18 #379F18
square
#187A9F #80189F #9F3D18 #379F18
split-complementary
#187A9F #9F1837 #9F8018
monochromatic
#082835 #10516A #187A9F #20A3D4 #4DBBE4

Accessibility & contrast

On white

4.86
#187A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#187A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A9F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A9F#FFFFFF#000000##FFFFFF
##187A9F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6778A1
Deuteranopia (green-blind)
#556C9E
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #187a9f;
/* rgb */ color: rgb(24, 122, 159);
/* oklch */ color: oklch(54.4% 0.101 229.7);
Tailwind
colors: {
  custom: {
    50: '#6fa0bb',
    500: '#187a9f',
    950: '#000000',
  },
}
SCSS
$custom: #187a9f;
$custom-light: #6fa0bb;
$custom-dark: #000000;
JSON
{
  "hex": "#187a9f",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 159
  },
  "hsl": {
    "h": 196.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54391,
    "c": 0.10124,
    "h": 229.7
  },
  "luminance": 0.16616
}

Semantic roles & 50–950 ramp

primary
#187A9F
secondary
#C66E4D
accent
#6A37F0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #187A9F

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

Preview Lab → · Contrast checker → · Palette generator →

#187A9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva