#387F9D#387F9D

#387F9D is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.4% C 0.084 H 228.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#387F9D
RGBrgb(56, 127, 157)
HSLhsl(198, 47%, 42%)
HSVhsv(198, 64%, 62%)
CMYKcmyk(64.3%, 19.1%, 0%, 38.4%)
CIE-LABlab(50.04, -12.64, -22.68)
CIE-LCHlch(50.04, 25.97, 240.86°)
OKLaboklab(56.4% -0.0556 -0.0634)
OKLCHoklch(56.4% 0.084 228.8)
XYZxyz(15.3037, 18.4522, 34.6469)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F9D #9D5638
analogous
#389D89 #387F9D #384D9D
triadic
#387F9D #9D387F #7F9D38
tetradic
#387F9D #89389D #9D5638 #4D9D38
square
#387F9D #89389D #9D5638 #4D9D38
split-complementary
#387F9D #9D384D #9D8938
monochromatic
#183643 #285B70 #387F9D #51A0C1 #7EB9D1

Accessibility & contrast

On white

4.48
#387F9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#387F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387F9D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F9D#FFFFFF#000000##000000
##387F9D1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7D9F
Deuteranopia (green-blind)
#61729D
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #387f9d;
/* rgb */ color: rgb(56, 127, 157);
/* oklch */ color: oklch(56.4% 0.084 228.8);
Tailwind
colors: {
  custom: {
    50: '#79a4ba',
    500: '#387f9d',
    950: '#000000',
  },
}
SCSS
$custom: #387f9d;
$custom-light: #79a4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#387f9d",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 157
  },
  "hsl": {
    "h": 197.822,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56402,
    "c": 0.08428,
    "h": 228.8
  },
  "luminance": 0.18454
}

Semantic roles & 50–950 ramp

primary
#387F9D
secondary
#BA8B76
accent
#7951D7
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #387F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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