#387EC6#387EC6

#387EC6 is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.3% C 0.131 H 251.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#387EC6
RGBrgb(56, 126, 198)
HSLhsl(210, 56%, 50%)
HSVhsv(210, 72%, 78%)
CMYKcmyk(71.7%, 36.4%, 0%, 22.4%)
CIE-LABlab(51.65, 2.18, -43.81)
CIE-LCHlch(51.65, 43.87, 272.85°)
OKLaboklab(58.3% -0.0414 -0.1246)
OKLCHoklch(58.3% 0.131 251.6)
XYZxyz(19.2810, 19.8376, 56.2280)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387EC6 #C68038
analogous
#38C5C6 #387EC6 #3938C6
triadic
#387EC6 #C6387E #7EC638
tetradic
#387EC6 #C638C5 #C68038 #38C639
square
#387EC6 #C638C5 #C68038 #38C639
split-complementary
#387EC6 #C63938 #C5C638
monochromatic
#1D4167 #2B6096 #387EC6 #679DD4 #97BCE2

Accessibility & contrast

On white

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

On black

4.97
#387EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387EC6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387EC6#FFFFFF#000000##000000
##387EC61.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C9
Deuteranopia (green-blind)
#4875C5
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #387ec6;
/* rgb */ color: rgb(56, 126, 198);
/* oklch */ color: oklch(58.3% 0.131 251.6);
Tailwind
colors: {
  custom: {
    50: '#80a3d7',
    500: '#387ec6',
    950: '#000000',
  },
}
SCSS
$custom: #387ec6;
$custom-light: #80a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#387ec6",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 210.423,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58305,
    "c": 0.13132,
    "h": 251.6
  },
  "luminance": 0.1984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #387EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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