#387F9C#387F9C

#387F9C is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.083 H 227.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#387F9C
RGBrgb(56, 127, 156)
HSLhsl(197, 47%, 42%)
HSVhsv(197, 64%, 61%)
CMYKcmyk(64.1%, 18.6%, 0%, 38.8%)
CIE-LABlab(50.00, -12.97, -22.16)
CIE-LCHlch(50.00, 25.68, 239.65°)
OKLaboklab(56.36% -0.0559 -0.0619)
OKLCHoklch(56.36% 0.083 227.9)
XYZxyz(15.2186, 18.4182, 34.1991)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387F9C #9C5538
analogous
#389C87 #387F9C #384D9C
triadic
#387F9C #9C387F #7F9C38
tetradic
#387F9C #87389C #9C5538 #4D9C38
square
#387F9C #87389C #9C5538 #4D9C38
split-complementary
#387F9C #9C384D #9C8738
monochromatic
#183642 #285A6F #387F9C #51A0C0 #7EB9D1

Accessibility & contrast

On white

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

On black

4.68
#387F9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387F9C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387F9C#FFFFFF#000000##000000
##387F9C1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#707D9D
Deuteranopia (green-blind)
#62729C
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #387f9c;
/* rgb */ color: rgb(56, 127, 156);
/* oklch */ color: oklch(56.4% 0.083 227.9);
Tailwind
colors: {
  custom: {
    50: '#79a4b9',
    500: '#387f9c',
    950: '#000000',
  },
}
SCSS
$custom: #387f9c;
$custom-light: #79a4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#387f9c",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 156
  },
  "hsl": {
    "h": 197.4,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56357,
    "c": 0.08342,
    "h": 227.9
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#387F9C
secondary
#BA8A76
accent
#7851D7
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #387F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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