#387FA8#387FA8

#387FA8 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.095 H 237.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#387FA8
RGBrgb(56, 127, 168)
HSLhsl(202, 50%, 44%)
HSVhsv(202, 67%, 66%)
CMYKcmyk(66.7%, 24.4%, 0%, 34.1%)
CIE-LABlab(50.51, -8.95, -28.36)
CIE-LCHlch(50.51, 29.74, 252.48°)
OKLaboklab(56.93% -0.0515 -0.0797)
OKLCHoklch(56.93% 0.095 237.1)
XYZxyz(16.2854, 18.8449, 39.8174)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387FA8 #A86138
analogous
#38A899 #387FA8 #3847A8
triadic
#387FA8 #A8387F #7FA838
tetradic
#387FA8 #9938A8 #A86138 #47A838
square
#387FA8 #9938A8 #A86138 #47A838
split-complementary
#387FA8 #A83847 #A89938
monochromatic
#193A4C #295C7A #387FA8 #569EC7 #84B8D6

Accessibility & contrast

On white

4.40
#387FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#387FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387FA8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387FA8#FFFFFF#000000##000000
##387FA81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EAA
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #387fa8;
/* rgb */ color: rgb(56, 127, 168);
/* oklch */ color: oklch(56.9% 0.095 237.1);
Tailwind
colors: {
  custom: {
    50: '#7ba4c2',
    500: '#387fa8',
    950: '#000000',
  },
}
SCSS
$custom: #387fa8;
$custom-light: #7ba4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#387fa8",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 201.964,
    "s": 50,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56926,
    "c": 0.09488,
    "h": 237.1
  },
  "luminance": 0.18847
}

Semantic roles & 50–950 ramp

primary
#387FA8
secondary
#C0957C
accent
#814EDA
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #387FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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