#387EC7#387EC7

#387EC7 is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.4% C 0.133 H 251.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#387EC7
RGBrgb(56, 126, 199)
HSLhsl(211, 56%, 50%)
HSVhsv(211, 72%, 78%)
CMYKcmyk(71.9%, 36.7%, 0%, 22%)
CIE-LABlab(51.71, 2.54, -44.30)
CIE-LCHlch(51.71, 44.37, 273.28°)
OKLaboklab(58.36% -0.0411 -0.126)
OKLCHoklch(58.36% 0.133 251.9)
XYZxyz(19.3967, 19.8838, 56.8375)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387EC7 #C78138
analogous
#38C6C7 #387EC7 #3938C7
triadic
#387EC7 #C7387E #7EC738
tetradic
#387EC7 #C738C6 #C78138 #38C739
square
#387EC7 #C738C6 #C78138 #38C739
split-complementary
#387EC7 #C73938 #C6C738
monochromatic
#1D4267 #2B6097 #387EC7 #689DD4 #98BCE2

Accessibility & contrast

On white

4.22
#387EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#387EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387EC7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387EC7#FFFFFF#000000##000000
##387EC71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#4775C6
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #387ec7;
/* rgb */ color: rgb(56, 126, 199);
/* oklch */ color: oklch(58.4% 0.133 251.9);
Tailwind
colors: {
  custom: {
    50: '#80a3d8',
    500: '#387ec7',
    950: '#000000',
  },
}
SCSS
$custom: #387ec7;
$custom-light: #80a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#387ec7",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 210.629,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.58364,
    "c": 0.13259,
    "h": 251.9
  },
  "luminance": 0.19886
}

Semantic roles & 50–950 ramp

primary
#387EC7
secondary
#CDAE8D
accent
#9548DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #387EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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