#387ECD#387ECD

#387ECD is a mid, vivid cyan. Relative luminance 0.202; OKLCH L 58.7% C 0.140 H 253.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#387ECD
RGBrgb(56, 126, 205)
HSLhsl(212, 60%, 51%)
HSVhsv(212, 73%, 80%)
CMYKcmyk(72.7%, 38.5%, 0%, 19.6%)
CIE-LABlab(52.03, 4.71, -47.21)
CIE-LCHlch(52.03, 47.44, 275.69°)
OKLaboklab(58.72% -0.0396 -0.1346)
OKLCHoklch(58.72% 0.14 253.6)
XYZxyz(20.1071, 20.1680, 60.5789)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387ECD #CD8738
analogous
#38C8CD #387ECD #3C38CD
triadic
#387ECD #CD387E #7ECD38
tetradic
#387ECD #CD38C8 #CD8738 #38CD3C
square
#387ECD #CD38C8 #CD8738 #38CD3C
split-complementary
#387ECD #CD3C38 #C8CD38
monochromatic
#1C436F #2860A0 #387ECD #699ED9 #9ABDE6

Accessibility & contrast

On white

4.17
#387ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#387ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387ECD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387ECD#FFFFFF#000000##000000
##387ECD1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D0
Deuteranopia (green-blind)
#4276CB
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #387ecd;
/* rgb */ color: rgb(56, 126, 205);
/* oklch */ color: oklch(58.7% 0.140 253.6);
Tailwind
colors: {
  custom: {
    50: '#81a2dd',
    500: '#387ecd',
    950: '#000000',
  },
}
SCSS
$custom: #387ecd;
$custom-light: #81a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#387ecd",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 211.812,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58719,
    "c": 0.14029,
    "h": 253.6
  },
  "luminance": 0.2017
}

Semantic roles & 50–950 ramp

primary
#387ECD
secondary
#D1B28F
accent
#9945E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #387ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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