#387EC5#387EC5

#387EC5 is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.2% C 0.130 H 251.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#387EC5
RGBrgb(56, 126, 197)
HSLhsl(210, 56%, 50%)
HSVhsv(210, 72%, 77%)
CMYKcmyk(71.6%, 36%, 0%, 22.7%)
CIE-LABlab(51.60, 1.82, -43.33)
CIE-LCHlch(51.60, 43.37, 272.41°)
OKLaboklab(58.25% -0.0416 -0.1232)
OKLCHoklch(58.25% 0.13 251.3)
XYZxyz(19.1660, 19.7916, 55.6226)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387EC5 #C57F38
analogous
#38C4C5 #387EC5 #3938C5
triadic
#387EC5 #C5387E #7EC538
tetradic
#387EC5 #C538C4 #C57F38 #38C539
square
#387EC5 #C538C4 #C57F38 #38C539
split-complementary
#387EC5 #C53938 #C4C538
monochromatic
#1D4166 #2A6095 #387EC5 #679DD4 #96BBE1

Accessibility & contrast

On white

4.23
#387EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#387EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387EC5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387EC5#FFFFFF#000000##000000
##387EC51.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E82C8
Deuteranopia (green-blind)
#4975C4
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #387ec5;
/* rgb */ color: rgb(56, 126, 197);
/* oklch */ color: oklch(58.2% 0.130 251.3);
Tailwind
colors: {
  custom: {
    50: '#80a3d7',
    500: '#387ec5',
    950: '#000000',
  },
}
SCSS
$custom: #387ec5;
$custom-light: #80a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#387ec5",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 210.213,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.13005,
    "h": 251.3
  },
  "luminance": 0.19794
}

Semantic roles & 50–950 ramp

primary
#387EC5
secondary
#CDAD8C
accent
#9449DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #387EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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