#387AC5#387AC5

#387AC5 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.3% C 0.134 H 253.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#387AC5
RGBrgb(56, 122, 197)
HSLhsl(212, 56%, 50%)
HSVhsv(212, 72%, 77%)
CMYKcmyk(71.6%, 38.1%, 0%, 22.7%)
CIE-LABlab(50.44, 4.25, -45.17)
CIE-LCHlch(50.44, 45.37, 275.37°)
OKLaboklab(57.34% -0.0378 -0.1286)
OKLCHoklch(57.34% 0.134 253.6)
XYZxyz(18.6647, 18.7890, 55.4555)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387AC5 #C58338
analogous
#38C1C5 #387AC5 #3D38C5
triadic
#387AC5 #C5387A #7AC538
tetradic
#387AC5 #C538C1 #C58338 #38C53D
square
#387AC5 #C538C1 #C58338 #38C53D
split-complementary
#387AC5 #C53D38 #C1C538
monochromatic
#1D3F66 #2A5C95 #387AC5 #679AD4 #96B9E1

Accessibility & contrast

On white

4.41
#387AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#387AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387AC5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387AC5#FFFFFF#000000##000000
##387AC51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#587FC8
Deuteranopia (green-blind)
#4272C3
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #387ac5;
/* rgb */ color: rgb(56, 122, 197);
/* oklch */ color: oklch(57.3% 0.134 253.6);
Tailwind
colors: {
  custom: {
    50: '#80a0d7',
    500: '#387ac5',
    950: '#000000',
  },
}
SCSS
$custom: #387ac5;
$custom-light: #80a0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#387ac5",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 197
  },
  "hsl": {
    "h": 211.915,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57339,
    "c": 0.1341,
    "h": 253.6
  },
  "luminance": 0.18791
}

Semantic roles & 50–950 ramp

primary
#387AC5
secondary
#CDAE8C
accent
#9949DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #387AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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