#187DB4#187DB4

#187DB4 is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.2% C 0.120 H 239.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#187DB4
RGBrgb(24, 125, 180)
HSLhsl(201, 76%, 40%)
HSVhsv(201, 87%, 71%)
CMYKcmyk(86.7%, 30.6%, 0%, 29.4%)
CIE-LABlab(49.68, -7.36, -36.64)
CIE-LCHlch(49.68, 37.38, 258.65°)
OKLaboklab(56.24% -0.0609 -0.104)
OKLCHoklch(56.24% 0.12 239.7)
XYZxyz(15.9452, 18.1547, 45.8350)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187DB4 #B44F18
analogous
#18B49D #187DB4 #182FB4
triadic
#187DB4 #B4187D #7DB418
tetradic
#187DB4 #9D18B4 #B44F18 #2FB418
square
#187DB4 #9D18B4 #B44F18 #2FB418
split-complementary
#187DB4 #B4182F #B49D18
monochromatic
#0A3248 #11577E #187DB4 #27A0E2 #5DB8E9

Accessibility & contrast

On white

4.53
#187DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#187DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #187DB4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187DB4#FFFFFF#000000##000000
##187DB41.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#637EB6
Deuteranopia (green-blind)
#4E70B3
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #187db4;
/* rgb */ color: rgb(24, 125, 180);
/* oklch */ color: oklch(56.2% 0.120 239.7);
Tailwind
colors: {
  custom: {
    50: '#73a2ca',
    500: '#187db4',
    950: '#000000',
  },
}
SCSS
$custom: #187db4;
$custom-light: #73a2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#187db4",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 180
  },
  "hsl": {
    "h": 201.154,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.56238,
    "c": 0.12049,
    "h": 239.7
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#187DB4
secondary
#CD835B
accent
#7835F3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #187DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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