#387CC5#387CC5

#387CC5 is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.8% C 0.132 H 252.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#387CC5
RGBrgb(56, 124, 197)
HSLhsl(211, 56%, 50%)
HSVhsv(211, 72%, 77%)
CMYKcmyk(71.6%, 37.1%, 0%, 22.7%)
CIE-LABlab(51.02, 3.03, -44.25)
CIE-LCHlch(51.02, 44.35, 273.92°)
OKLaboklab(57.79% -0.0397 -0.1259)
OKLCHoklch(57.79% 0.132 252.5)
XYZxyz(18.9128, 19.2852, 55.5382)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387CC5 #C58138
analogous
#38C2C5 #387CC5 #3B38C5
triadic
#387CC5 #C5387C #7CC538
tetradic
#387CC5 #C538C2 #C58138 #38C53B
square
#387CC5 #C538C2 #C58138 #38C53B
split-complementary
#387CC5 #C53B38 #C2C538
monochromatic
#1D4066 #2A5E95 #387CC5 #679BD4 #96BAE1

Accessibility & contrast

On white

4.32
#387CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#387CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387CC5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387CC5#FFFFFF#000000##000000
##387CC51.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B81C8
Deuteranopia (green-blind)
#4674C4
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #387cc5;
/* rgb */ color: rgb(56, 124, 197);
/* oklch */ color: oklch(57.8% 0.132 252.5);
Tailwind
colors: {
  custom: {
    50: '#80a1d7',
    500: '#387cc5',
    950: '#000000',
  },
}
SCSS
$custom: #387cc5;
$custom-light: #80a1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#387cc5",
  "rgb": {
    "r": 56,
    "g": 124,
    "b": 197
  },
  "hsl": {
    "h": 211.064,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57792,
    "c": 0.13205,
    "h": 252.5
  },
  "luminance": 0.19287
}

Semantic roles & 50–950 ramp

primary
#387CC5
secondary
#CDAE8C
accent
#9749DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #387CC5

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

Preview Lab → · Contrast checker → · Palette generator →

#387CC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva