#387ED1#387ED1

#387ED1 is a mid, vivid cyan. Relative luminance 0.204; OKLCH L 59.0% C 0.145 H 254.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#387ED1
RGBrgb(56, 126, 209)
HSLhsl(213, 62%, 52%)
HSVhsv(213, 73%, 82%)
CMYKcmyk(73.2%, 39.7%, 0%, 18%)
CIE-LABlab(52.25, 6.16, -49.13)
CIE-LCHlch(52.25, 49.51, 277.14°)
OKLaboklab(58.96% -0.0387 -0.1402)
OKLCHoklch(58.96% 0.145 254.6)
XYZxyz(20.5961, 20.3636, 63.1543)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387ED1 #D18B38
analogous
#38CBD1 #387ED1 #3F38D1
triadic
#387ED1 #D1387E #7ED138
tetradic
#387ED1 #D138CB #D18B38 #38D13F
square
#387ED1 #D138CB #D18B38 #38D13F
split-complementary
#387ED1 #D13F38 #CBD138
monochromatic
#1B4474 #2660A6 #387ED1 #6A9EDC #9BBEE8

Accessibility & contrast

On white

4.14
#387ED1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#387ED1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387ED1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387ED1#FFFFFF#000000##000000
##387ED11.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5784D4
Deuteranopia (green-blind)
#3E76CF
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #387ed1;
/* rgb */ color: rgb(56, 126, 209);
/* oklch */ color: oklch(59.0% 0.145 254.6);
Tailwind
colors: {
  custom: {
    50: '#82a2df',
    500: '#387ed1',
    950: '#000000',
  },
}
SCSS
$custom: #387ed1;
$custom-light: #82a2df;
$custom-dark: #000000;
JSON
{
  "hex": "#387ed1",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 209
  },
  "hsl": {
    "h": 212.549,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.14545,
    "h": 254.6
  },
  "luminance": 0.20366
}

Semantic roles & 50–950 ramp

primary
#387ED1
secondary
#D4B591
accent
#9B42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #387ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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