#387FAC#387FAC

#387FAC is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.1% C 0.099 H 239.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#387FAC
RGBrgb(56, 127, 172)
HSLhsl(203, 51%, 45%)
HSVhsv(203, 67%, 67%)
CMYKcmyk(67.4%, 26.2%, 0%, 32.5%)
CIE-LABlab(50.68, -7.58, -30.40)
CIE-LCHlch(50.68, 31.33, 255.99°)
OKLaboklab(57.13% -0.0501 -0.0856)
OKLCHoklch(57.13% 0.099 239.6)
XYZxyz(16.6638, 18.9963, 41.8102)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387FAC #AC6538
analogous
#38AC9F #387FAC #3845AC
triadic
#387FAC #AC387F #7FAC38
tetradic
#387FAC #9F38AC #AC6538 #45AC38
square
#387FAC #9F38AC #AC6538 #45AC38
split-complementary
#387FAC #AC3845 #AC9F38
monochromatic
#1A3B50 #295D7E #387FAC #589DC9 #87B8D8

Accessibility & contrast

On white

4.38
#387FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#387FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387FAC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387FAC#FFFFFF#000000##000000
##387FAC1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7FAE
Deuteranopia (green-blind)
#5A74AB
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #387fac;
/* rgb */ color: rgb(56, 127, 172);
/* oklch */ color: oklch(57.1% 0.099 239.6);
Tailwind
colors: {
  custom: {
    50: '#7ba4c5',
    500: '#387fac',
    950: '#000000',
  },
}
SCSS
$custom: #387fac;
$custom-light: #7ba4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#387fac",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 203.276,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57126,
    "c": 0.09917,
    "h": 239.6
  },
  "luminance": 0.18998
}

Semantic roles & 50–950 ramp

primary
#387FAC
secondary
#C2987E
accent
#844DDA
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #387FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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