#387FD9#387FD9

#387FD9 is a mid, vivid cyan. Relative luminance 0.210; OKLCH L 59.7% C 0.155 H 255.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#387FD9
RGBrgb(56, 127, 217)
HSLhsl(214, 68%, 54%)
HSVhsv(214, 74%, 85%)
CMYKcmyk(74.2%, 41.5%, 0%, 14.9%)
CIE-LABlab(52.98, 8.46, -52.48)
CIE-LCHlch(52.98, 53.16, 279.16°)
OKLaboklab(59.68% -0.0378 -0.15)
OKLCHoklch(59.68% 0.155 255.8)
XYZxyz(21.7400, 21.0268, 68.5450)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387FD9 #D99238
analogous
#38D0D9 #387FD9 #4138D9
triadic
#387FD9 #D9387F #7FD938
tetradic
#387FD9 #D938D0 #D99238 #38D941
square
#387FD9 #D938D0 #D99238 #38D941
split-complementary
#387FD9 #D94138 #D0D938
monochromatic
#18457E #2261B2 #387FD9 #6BA0E3 #9FC1ED

Accessibility & contrast

On white

4.03
#387FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#387FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387FD9
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387FD9#FFFFFF#000000##000000
##387FD91.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5386DD
Deuteranopia (green-blind)
#3878D7
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #387fd9;
/* rgb */ color: rgb(56, 127, 217);
/* oklch */ color: oklch(59.7% 0.155 255.8);
Tailwind
colors: {
  custom: {
    50: '#83a3e5',
    500: '#387fd9',
    950: '#000000',
  },
}
SCSS
$custom: #387fd9;
$custom-light: #83a3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#387fd9",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 217
  },
  "hsl": {
    "h": 213.54,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59677,
    "c": 0.15473,
    "h": 255.8
  },
  "luminance": 0.21029
}

Semantic roles & 50–950 ramp

primary
#387FD9
secondary
#D9BA94
accent
#9E3DEB
background
#F8FAFE
surface
#F0F3FC
border
#CBCDD5
text
#0C0F16
muted
#7D7F84

Preview Lab

Preview with #387FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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