#387FAB#387FAB

#387FAB is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.1% C 0.098 H 239.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#387FAB
RGBrgb(56, 127, 171)
HSLhsl(203, 51%, 45%)
HSVhsv(203, 67%, 67%)
CMYKcmyk(67.3%, 25.7%, 0%, 32.9%)
CIE-LABlab(50.64, -7.93, -29.89)
CIE-LCHlch(50.64, 30.92, 255.15°)
OKLaboklab(57.08% -0.0505 -0.0841)
OKLCHoklch(57.08% 0.098 239)
XYZxyz(16.5681, 18.9580, 41.3063)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387FAB #AB6438
analogous
#38AB9E #387FAB #3845AB
triadic
#387FAB #AB387F #7FAB38
tetradic
#387FAB #9E38AB #AB6438 #45AB38
square
#387FAB #9E38AB #AB6438 #45AB38
split-complementary
#387FAB #AB3845 #AB9E38
monochromatic
#1A3B4F #295D7D #387FAB #589DC8 #86B8D7

Accessibility & contrast

On white

4.38
#387FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#387FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387FAB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387FAB#FFFFFF#000000##000000
##387FAB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7FAD
Deuteranopia (green-blind)
#5B74AA
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #387fab;
/* rgb */ color: rgb(56, 127, 171);
/* oklch */ color: oklch(57.1% 0.098 239.0);
Tailwind
colors: {
  custom: {
    50: '#7ba4c4',
    500: '#387fab',
    950: '#000000',
  },
}
SCSS
$custom: #387fab;
$custom-light: #7ba4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#387fab",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 171
  },
  "hsl": {
    "h": 202.957,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57075,
    "c": 0.09808,
    "h": 239
  },
  "luminance": 0.1896
}

Semantic roles & 50–950 ramp

primary
#387FAB
secondary
#C1977D
accent
#834EDA
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #387FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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