#387DAB#387DAB

#387DAB is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.6% C 0.099 H 240.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#387DAB
RGBrgb(56, 125, 171)
HSLhsl(204, 51%, 45%)
HSVhsv(204, 67%, 67%)
CMYKcmyk(67.3%, 26.9%, 0%, 32.9%)
CIE-LABlab(50.03, -6.76, -30.83)
CIE-LCHlch(50.03, 31.57, 257.63°)
OKLaboklab(56.6% -0.0484 -0.0868)
OKLCHoklch(56.6% 0.099 240.9)
XYZxyz(16.3124, 18.4465, 41.2210)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387DAB #AB6638
analogous
#38ABA0 #387DAB #3844AB
triadic
#387DAB #AB387D #7DAB38
tetradic
#387DAB #A038AB #AB6638 #44AB38
square
#387DAB #A038AB #AB6638 #44AB38
split-complementary
#387DAB #AB3844 #ABA038
monochromatic
#1A3A4F #295B7D #387DAB #589BC8 #86B7D7

Accessibility & contrast

On white

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

On black

4.69
#387DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387DAB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387DAB#FFFFFF#000000##000000
##387DAB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#687DAD
Deuteranopia (green-blind)
#5872AA
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #387dab;
/* rgb */ color: rgb(56, 125, 171);
/* oklch */ color: oklch(56.6% 0.099 240.9);
Tailwind
colors: {
  custom: {
    50: '#7ba2c4',
    500: '#387dab',
    950: '#000000',
  },
}
SCSS
$custom: #387dab;
$custom-light: #7ba2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#387dab",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 171
  },
  "hsl": {
    "h": 204,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56596,
    "c": 0.09939,
    "h": 240.9
  },
  "luminance": 0.18448
}

Semantic roles & 50–950 ramp

primary
#387DAB
secondary
#C1997D
accent
#864EDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #387DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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