#387DC5#387DC5

#387DC5 is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 58.0% C 0.131 H 251.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#387DC5
RGBrgb(56, 125, 197)
HSLhsl(211, 56%, 50%)
HSVhsv(211, 72%, 77%)
CMYKcmyk(71.6%, 36.5%, 0%, 22.7%)
CIE-LABlab(51.31, 2.42, -43.79)
CIE-LCHlch(51.31, 43.85, 273.17°)
OKLaboklab(58.02% -0.0407 -0.1246)
OKLCHoklch(58.02% 0.131 251.9)
XYZxyz(19.0388, 19.5371, 55.5801)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387DC5 #C58038
analogous
#38C4C5 #387DC5 #3938C5
triadic
#387DC5 #C5387D #7DC538
tetradic
#387DC5 #C538C4 #C58038 #38C539
square
#387DC5 #C538C4 #C58038 #38C539
split-complementary
#387DC5 #C53938 #C4C538
monochromatic
#1D4166 #2A5F95 #387DC5 #679CD4 #96BBE1

Accessibility & contrast

On white

4.28
#387DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#387DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387DC5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387DC5#FFFFFF#000000##000000
##387DC51.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C81C8
Deuteranopia (green-blind)
#4774C4
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #387dc5;
/* rgb */ color: rgb(56, 125, 197);
/* oklch */ color: oklch(58.0% 0.131 251.9);
Tailwind
colors: {
  custom: {
    50: '#80a2d7',
    500: '#387dc5',
    950: '#000000',
  },
}
SCSS
$custom: #387dc5;
$custom-light: #80a2d7;
$custom-dark: #000000;
JSON
{
  "hex": "#387dc5",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 197
  },
  "hsl": {
    "h": 210.638,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58019,
    "c": 0.13104,
    "h": 251.9
  },
  "luminance": 0.19539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #387DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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