#387EC4#387EC4

#387EC4 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.2% C 0.129 H 251.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#387EC4
RGBrgb(56, 126, 196)
HSLhsl(210, 56%, 49%)
HSVhsv(210, 71%, 77%)
CMYKcmyk(71.4%, 35.7%, 0%, 23.1%)
CIE-LABlab(51.55, 1.46, -42.84)
CIE-LCHlch(51.55, 42.86, 271.95°)
OKLaboklab(58.19% -0.0419 -0.1218)
OKLCHoklch(58.19% 0.129 251)
XYZxyz(19.0518, 19.7459, 55.0211)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387EC4 #C47E38
analogous
#38C4C4 #387EC4 #3838C4
triadic
#387EC4 #C4387E #7EC438
tetradic
#387EC4 #C438C4 #C47E38 #38C438
square
#387EC4 #C438C4 #C47E38 #38C438
split-complementary
#387EC4 #C43838 #C4C438
monochromatic
#1D4165 #2A5F94 #387EC4 #669DD3 #96BBE1

Accessibility & contrast

On white

4.24
#387EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#387EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387EC4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387EC4#FFFFFF#000000##000000
##387EC41.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E82C7
Deuteranopia (green-blind)
#4A75C3
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #387ec4;
/* rgb */ color: rgb(56, 126, 196);
/* oklch */ color: oklch(58.2% 0.129 251.0);
Tailwind
colors: {
  custom: {
    50: '#7fa3d6',
    500: '#387ec4',
    950: '#000000',
  },
}
SCSS
$custom: #387ec4;
$custom-light: #7fa3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#387ec4",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 210,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58189,
    "c": 0.12878,
    "h": 251
  },
  "luminance": 0.19748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #387EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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