#387DC7#387DC7

#387DC7 is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.1% C 0.134 H 252.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#387DC7
RGBrgb(56, 125, 199)
HSLhsl(211, 56%, 50%)
HSVhsv(211, 72%, 78%)
CMYKcmyk(71.9%, 37.2%, 0%, 22%)
CIE-LABlab(51.42, 3.14, -44.76)
CIE-LCHlch(51.42, 44.87, 274.02°)
OKLaboklab(58.14% -0.0402 -0.1274)
OKLCHoklch(58.14% 0.134 252.5)
XYZxyz(19.2695, 19.6294, 56.7951)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387DC7 #C78238
analogous
#38C4C7 #387DC7 #3B38C7
triadic
#387DC7 #C7387D #7DC738
tetradic
#387DC7 #C738C4 #C78238 #38C73B
square
#387DC7 #C738C4 #C78238 #38C73B
split-complementary
#387DC7 #C73B38 #C4C738
monochromatic
#1D4167 #2B5F97 #387DC7 #689CD4 #98BBE2

Accessibility & contrast

On white

4.26
#387DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#387DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387DC7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387DC7#FFFFFF#000000##000000
##387DC71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82CA
Deuteranopia (green-blind)
#4674C6
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #387dc7;
/* rgb */ color: rgb(56, 125, 199);
/* oklch */ color: oklch(58.1% 0.134 252.5);
Tailwind
colors: {
  custom: {
    50: '#80a2d8',
    500: '#387dc7',
    950: '#000000',
  },
}
SCSS
$custom: #387dc7;
$custom-light: #80a2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#387dc7",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 211.049,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.58137,
    "c": 0.1336,
    "h": 252.5
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#387DC7
secondary
#CDAF8D
accent
#9748DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #387DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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