#387EC8#387EC8

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

Color values

HEX#387EC8
RGBrgb(56, 126, 200)
HSLhsl(211, 57%, 50%)
HSVhsv(211, 72%, 78%)
CMYKcmyk(72%, 37%, 0%, 21.6%)
CIE-LABlab(51.76, 2.90, -44.79)
CIE-LCHlch(51.76, 44.88, 273.70°)
OKLaboklab(58.42% -0.0409 -0.1275)
OKLCHoklch(58.42% 0.134 252.2)
XYZxyz(19.5132, 19.9304, 57.4509)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387EC8 #C88238
analogous
#38C6C8 #387EC8 #3A38C8
triadic
#387EC8 #C8387E #7EC838
tetradic
#387EC8 #C838C6 #C88238 #38C83A
square
#387EC8 #C838C6 #C88238 #38C83A
split-complementary
#387EC8 #C83A38 #C6C838
monochromatic
#1D4269 #2A6099 #387EC8 #689DD5 #98BCE3

Accessibility & contrast

On white

4.21
#387EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#387EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387EC8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387EC8#FFFFFF#000000##000000
##387EC81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #387ec8;
/* rgb */ color: rgb(56, 126, 200);
/* oklch */ color: oklch(58.4% 0.134 252.2);
Tailwind
colors: {
  custom: {
    50: '#80a3d9',
    500: '#387ec8',
    950: '#000000',
  },
}
SCSS
$custom: #387ec8;
$custom-light: #80a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#387ec8",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 210.833,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58422,
    "c": 0.13387,
    "h": 252.2
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

primary
#387EC8
secondary
#CEAF8E
accent
#9648E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #387EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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