#387FCC#387FCC

#387FCC is a mid, vivid cyan. Relative luminance 0.204; OKLCH L 58.9% C 0.138 H 252.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#387FCC
RGBrgb(56, 127, 204)
HSLhsl(211, 59%, 51%)
HSVhsv(211, 73%, 80%)
CMYKcmyk(72.5%, 37.7%, 0%, 20%)
CIE-LABlab(52.26, 3.74, -46.27)
CIE-LCHlch(52.26, 46.42, 274.62°)
OKLaboklab(58.88% -0.0408 -0.1318)
OKLCHoklch(58.88% 0.138 252.8)
XYZxyz(20.1153, 20.3769, 59.9880)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387FCC #CC8538
analogous
#38C9CC #387FCC #3B38CC
triadic
#387FCC #CC387F #7FCC38
tetradic
#387FCC #CC38C9 #CC8538 #38CC3B
square
#387FCC #CC38C9 #CC8538 #38CC3B
split-complementary
#387FCC #CC3B38 #C9CC38
monochromatic
#1C436E #29619E #387FCC #699ED8 #99BEE5

Accessibility & contrast

On white

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

On black

5.08
#387FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387FCC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387FCC#FFFFFF#000000##000000
##387FCC1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84CF
Deuteranopia (green-blind)
#4576CA
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #387fcc;
/* rgb */ color: rgb(56, 127, 204);
/* oklch */ color: oklch(58.9% 0.138 252.8);
Tailwind
colors: {
  custom: {
    50: '#81a3dc',
    500: '#387fcc',
    950: '#000000',
  },
}
SCSS
$custom: #387fcc;
$custom-light: #81a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#387fcc",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 211.216,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58884,
    "c": 0.13797,
    "h": 252.8
  },
  "luminance": 0.20379
}

Semantic roles & 50–950 ramp

primary
#387FCC
secondary
#D1B18F
accent
#9745E2
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #387FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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