#387FD4#387FD4

#387FD4 is a mid, vivid cyan. Relative luminance 0.208; OKLCH L 59.4% C 0.148 H 254.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#387FD4
RGBrgb(56, 127, 212)
HSLhsl(213, 64%, 53%)
HSVhsv(213, 74%, 83%)
CMYKcmyk(73.6%, 40.1%, 0%, 16.9%)
CIE-LABlab(52.70, 6.64, -50.11)
CIE-LCHlch(52.70, 50.54, 277.55°)
OKLaboklab(59.37% -0.0389 -0.1431)
OKLCHoklch(59.37% 0.148 254.8)
XYZxyz(21.0995, 20.7706, 65.1717)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387FD4 #D48D38
analogous
#38CDD4 #387FD4 #3F38D4
triadic
#387FD4 #D4387F #7FD438
tetradic
#387FD4 #D438CD #D48D38 #38D43F
square
#387FD4 #D438CD #D48D38 #38D43F
split-complementary
#387FD4 #D43F38 #CDD438
monochromatic
#1A4578 #2561AA #387FD4 #6A9FDF #9DC0EA

Accessibility & contrast

On white

4.07
#387FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#387FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387FD4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387FD4#FFFFFF#000000##000000
##387FD41.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5786D7
Deuteranopia (green-blind)
#3D77D2
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #387fd4;
/* rgb */ color: rgb(56, 127, 212);
/* oklch */ color: oklch(59.4% 0.148 254.8);
Tailwind
colors: {
  custom: {
    50: '#82a3e2',
    500: '#387fd4',
    950: '#000000',
  },
}
SCSS
$custom: #387fd4;
$custom-light: #82a3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#387fd4",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 212.692,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59367,
    "c": 0.14826,
    "h": 254.8
  },
  "luminance": 0.20773
}

Semantic roles & 50–950 ramp

primary
#387FD4
secondary
#D6B792
accent
#9B40E7
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #387FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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