#387ED4#387ED4

#387ED4 is a mid, vivid cyan. Relative luminance 0.205; OKLCH L 59.1% C 0.149 H 255.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#387ED4
RGBrgb(56, 126, 212)
HSLhsl(213, 64%, 53%)
HSVhsv(213, 74%, 83%)
CMYKcmyk(73.6%, 40.6%, 0%, 16.9%)
CIE-LABlab(52.41, 7.25, -50.56)
CIE-LCHlch(52.41, 51.08, 278.16°)
OKLaboklab(59.15% -0.038 -0.1444)
OKLCHoklch(59.15% 0.149 255.2)
XYZxyz(20.9710, 20.5136, 65.1289)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387ED4 #D48E38
analogous
#38CCD4 #387ED4 #4038D4
triadic
#387ED4 #D4387E #7ED438
tetradic
#387ED4 #D438CC #D48E38 #38D440
square
#387ED4 #D438CC #D48E38 #38D440
split-complementary
#387ED4 #D44038 #CCD438
monochromatic
#1A4478 #2561AA #387ED4 #6A9FDF #9DBFEA

Accessibility & contrast

On white

4.12
#387ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#387ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387ED4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387ED4#FFFFFF#000000##000000
##387ED41.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5585D7
Deuteranopia (green-blind)
#3B76D2
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #387ed4;
/* rgb */ color: rgb(56, 126, 212);
/* oklch */ color: oklch(59.1% 0.149 255.2);
Tailwind
colors: {
  custom: {
    50: '#82a2e2',
    500: '#387ed4',
    950: '#000000',
  },
}
SCSS
$custom: #387ed4;
$custom-light: #82a2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#387ed4",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 212
  },
  "hsl": {
    "h": 213.077,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59146,
    "c": 0.14933,
    "h": 255.2
  },
  "luminance": 0.20516
}

Semantic roles & 50–950 ramp

primary
#387ED4
secondary
#D6B792
accent
#9C40E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #387ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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