#187FB4#187FB4

#187FB4 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.7% C 0.119 H 238.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#187FB4
RGBrgb(24, 127, 180)
HSLhsl(200, 76%, 40%)
HSVhsv(200, 87%, 71%)
CMYKcmyk(86.7%, 29.4%, 0%, 29.4%)
CIE-LABlab(50.29, -8.52, -35.68)
CIE-LCHlch(50.29, 36.69, 256.57°)
OKLaboklab(56.72% -0.0626 -0.1011)
OKLCHoklch(56.72% 0.119 238.2)
XYZxyz(16.2010, 18.6661, 45.9202)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187FB4 #B44D18
analogous
#18B49B #187FB4 #1831B4
triadic
#187FB4 #B4187F #7FB418
tetradic
#187FB4 #9B18B4 #B44D18 #31B418
square
#187FB4 #9B18B4 #B44D18 #31B418
split-complementary
#187FB4 #B41831 #B49B18
monochromatic
#0A3348 #11597E #187FB4 #27A3E2 #5DBAE9

Accessibility & contrast

On white

4.44
#187FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#187FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #187FB4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187FB4#FFFFFF#000000##000000
##187FB41.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB6
Deuteranopia (green-blind)
#5172B3
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #187fb4;
/* rgb */ color: rgb(24, 127, 180);
/* oklch */ color: oklch(56.7% 0.119 238.2);
Tailwind
colors: {
  custom: {
    50: '#73a4ca',
    500: '#187fb4',
    950: '#000000',
  },
}
SCSS
$custom: #187fb4;
$custom-light: #73a4ca;
$custom-dark: #000000;
JSON
{
  "hex": "#187fb4",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 180
  },
  "hsl": {
    "h": 200.385,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.56723,
    "c": 0.11898,
    "h": 238.2
  },
  "luminance": 0.18668
}

Semantic roles & 50–950 ramp

primary
#187FB4
secondary
#CD825B
accent
#7535F3
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #187FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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