#387ECF#387ECF

#387ECF is a mid, vivid cyan. Relative luminance 0.203; OKLCH L 58.8% C 0.143 H 254.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#387ECF
RGBrgb(56, 126, 207)
HSLhsl(212, 61%, 52%)
HSVhsv(212, 73%, 81%)
CMYKcmyk(72.9%, 39.1%, 0%, 18.8%)
CIE-LABlab(52.14, 5.43, -48.17)
CIE-LCHlch(52.14, 48.47, 276.43°)
OKLaboklab(58.84% -0.0392 -0.1374)
OKLCHoklch(58.84% 0.143 254.1)
XYZxyz(20.3501, 20.2652, 61.8585)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387ECF #CF8938
analogous
#38CACF #387ECF #3D38CF
triadic
#387ECF #CF387E #7ECF38
tetradic
#387ECF #CF38CA #CF8938 #38CF3D
square
#387ECF #CF38CA #CF8938 #38CF3D
split-complementary
#387ECF #CF3D38 #CACF38
monochromatic
#1B4371 #2760A3 #387ECF #699EDB #9BBEE7

Accessibility & contrast

On white

4.16
#387ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#387ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387ECF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387ECF#FFFFFF#000000##000000
##387ECF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5884D2
Deuteranopia (green-blind)
#4076CD
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #387ecf;
/* rgb */ color: rgb(56, 126, 207);
/* oklch */ color: oklch(58.8% 0.143 254.1);
Tailwind
colors: {
  custom: {
    50: '#81a2de',
    500: '#387ecf',
    950: '#000000',
  },
}
SCSS
$custom: #387ecf;
$custom-light: #81a2de;
$custom-dark: #000000;
JSON
{
  "hex": "#387ecf",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 212.185,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5884,
    "c": 0.14286,
    "h": 254.1
  },
  "luminance": 0.20267
}

Semantic roles & 50–950 ramp

primary
#387ECF
secondary
#D3B490
accent
#9A44E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #387ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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