#387ED3#387ED3

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

Color values

HEX#387ED3
RGBrgb(56, 126, 211)
HSLhsl(213, 64%, 52%)
HSVhsv(213, 73%, 83%)
CMYKcmyk(73.5%, 40.3%, 0%, 17.3%)
CIE-LABlab(52.36, 6.88, -50.08)
CIE-LCHlch(52.36, 50.55, 277.83°)
OKLaboklab(59.08% -0.0383 -0.143)
OKLCHoklch(59.08% 0.148 255)
XYZxyz(20.8453, 20.4633, 64.4666)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387ED3 #D38D38
analogous
#38CCD3 #387ED3 #3F38D3
triadic
#387ED3 #D3387E #7ED338
tetradic
#387ED3 #D338CC #D38D38 #38D33F
square
#387ED3 #D338CC #D38D38 #38D33F
split-complementary
#387ED3 #D33F38 #CCD338
monochromatic
#1A4476 #2561A9 #387ED3 #6A9EDE #9CBFE9

Accessibility & contrast

On white

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

On black

5.09
#387ED3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387ED3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387ED3#FFFFFF#000000##000000
##387ED31.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5685D6
Deuteranopia (green-blind)
#3C76D1
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #387ed3;
/* rgb */ color: rgb(56, 126, 211);
/* oklch */ color: oklch(59.1% 0.148 255.0);
Tailwind
colors: {
  custom: {
    50: '#82a2e1',
    500: '#387ed3',
    950: '#000000',
  },
}
SCSS
$custom: #387ed3;
$custom-light: #82a2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#387ed3",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 211
  },
  "hsl": {
    "h": 212.903,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59084,
    "c": 0.14804,
    "h": 255
  },
  "luminance": 0.20466
}

Semantic roles & 50–950 ramp

primary
#387ED3
secondary
#D5B792
accent
#9C41E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #387ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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