#387EA7#387EA7

#387EA7 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.6% C 0.094 H 237.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#387EA7
RGBrgb(56, 126, 167)
HSLhsl(202, 50%, 44%)
HSVhsv(202, 66%, 65%)
CMYKcmyk(66.5%, 24.6%, 0%, 34.5%)
CIE-LABlab(50.16, -8.72, -28.32)
CIE-LCHlch(50.16, 29.63, 252.89°)
OKLaboklab(56.64% -0.0508 -0.0796)
OKLCHoklch(56.64% 0.094 237.4)
XYZxyz(16.0641, 18.5508, 39.2858)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387EA7 #A76138
analogous
#38A798 #387EA7 #3846A7
triadic
#387EA7 #A7387E #7EA738
tetradic
#387EA7 #9838A7 #A76138 #46A738
square
#387EA7 #9838A7 #A76138 #46A738
split-complementary
#387EA7 #A73846 #A79838
monochromatic
#19394B #295B79 #387EA7 #569DC6 #84B7D6

Accessibility & contrast

On white

4.46
#387EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#387EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387EA7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387EA7#FFFFFF#000000##000000
##387EA71.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EA9
Deuteranopia (green-blind)
#5C72A6
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #387ea7;
/* rgb */ color: rgb(56, 126, 167);
/* oklch */ color: oklch(56.6% 0.094 237.4);
Tailwind
colors: {
  custom: {
    50: '#7ba3c1',
    500: '#387ea7',
    950: '#000000',
  },
}
SCSS
$custom: #387ea7;
$custom-light: #7ba3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#387ea7",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 202.162,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56636,
    "c": 0.0944,
    "h": 237.4
  },
  "luminance": 0.18552
}

Semantic roles & 50–950 ramp

primary
#387EA7
secondary
#BF957B
accent
#824FD9
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #387EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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