#387CCC#387CCC

#387CCC is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.2% C 0.141 H 254.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#387CCC
RGBrgb(56, 124, 204)
HSLhsl(212, 59%, 51%)
HSVhsv(212, 73%, 80%)
CMYKcmyk(72.5%, 39.2%, 0%, 20%)
CIE-LABlab(51.40, 5.56, -47.64)
CIE-LCHlch(51.40, 47.96, 276.66°)
OKLaboklab(58.21% -0.038 -0.1359)
OKLCHoklch(58.21% 0.141 254.4)
XYZxyz(19.7336, 19.6135, 59.8608)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387CCC #CC8838
analogous
#38C6CC #387CCC #3E38CC
triadic
#387CCC #CC387C #7CCC38
tetradic
#387CCC #CC38C6 #CC8838 #38CC3E
square
#387CCC #CC38C6 #CC8838 #38CC3E
split-complementary
#387CCC #CC3E38 #C6CC38
monochromatic
#1C416E #295F9E #387CCC #699CD8 #99BCE5

Accessibility & contrast

On white

4.27
#387CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#387CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387CCC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387CCC#FFFFFF#000000##000000
##387CCC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CF
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #387ccc;
/* rgb */ color: rgb(56, 124, 204);
/* oklch */ color: oklch(58.2% 0.141 254.4);
Tailwind
colors: {
  custom: {
    50: '#81a1dc',
    500: '#387ccc',
    950: '#000000',
  },
}
SCSS
$custom: #387ccc;
$custom-light: #81a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#387ccc",
  "rgb": {
    "r": 56,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 212.432,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58211,
    "c": 0.14109,
    "h": 254.4
  },
  "luminance": 0.19616
}

Semantic roles & 50–950 ramp

primary
#387CCC
secondary
#D1B38F
accent
#9A45E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #387CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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