#387E9D#387E9D

#387E9D is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.2% C 0.085 H 229.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#387E9D
RGBrgb(56, 126, 157)
HSLhsl(198, 47%, 42%)
HSVhsv(198, 64%, 62%)
CMYKcmyk(64.3%, 19.7%, 0%, 38.4%)
CIE-LABlab(49.73, -12.08, -23.15)
CIE-LCHlch(49.73, 26.12, 242.45°)
OKLaboklab(56.16% -0.0544 -0.0647)
OKLCHoklch(56.16% 0.085 229.9)
XYZxyz(15.1752, 18.1952, 34.6040)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387E9D #9D5738
analogous
#389D8A #387E9D #384C9D
triadic
#387E9D #9D387E #7E9D38
tetradic
#387E9D #8A389D #9D5738 #4C9D38
square
#387E9D #8A389D #9D5738 #4C9D38
split-complementary
#387E9D #9D384C #9D8A38
monochromatic
#183643 #285A70 #387E9D #519FC1 #7EB8D1

Accessibility & contrast

On white

4.53
#387E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#387E9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387E9D
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387E9D#FFFFFF#000000##000000
##387E9D1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7C9F
Deuteranopia (green-blind)
#60729D
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #387e9d;
/* rgb */ color: rgb(56, 126, 157);
/* oklch */ color: oklch(56.2% 0.085 229.9);
Tailwind
colors: {
  custom: {
    50: '#79a3ba',
    500: '#387e9d',
    950: '#000000',
  },
}
SCSS
$custom: #387e9d;
$custom-light: #79a3ba;
$custom-dark: #000000;
JSON
{
  "hex": "#387e9d",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 157
  },
  "hsl": {
    "h": 198.416,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56157,
    "c": 0.08459,
    "h": 229.9
  },
  "luminance": 0.18197
}

Semantic roles & 50–950 ramp

primary
#387E9D
secondary
#BA8B76
accent
#7A51D7
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #387E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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