#387DAC#387DAC

#387DAC is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.6% C 0.101 H 241.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#387DAC
RGBrgb(56, 125, 172)
HSLhsl(204, 51%, 45%)
HSVhsv(204, 67%, 67%)
CMYKcmyk(67.4%, 27.3%, 0%, 32.5%)
CIE-LABlab(50.08, -6.42, -31.34)
CIE-LCHlch(50.08, 31.99, 258.43°)
OKLaboklab(56.65% -0.048 -0.0883)
OKLCHoklch(56.65% 0.101 241.5)
XYZxyz(16.4081, 18.4848, 41.7249)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387DAC #AC6738
analogous
#38ACA1 #387DAC #3843AC
triadic
#387DAC #AC387D #7DAC38
tetradic
#387DAC #A138AC #AC6738 #43AC38
square
#387DAC #A138AC #AC6738 #43AC38
split-complementary
#387DAC #AC3843 #ACA138
monochromatic
#1A3A50 #295B7E #387DAC #589BC9 #87B7D8

Accessibility & contrast

On white

4.47
#387DAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#387DAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387DAC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387DAC#FFFFFF#000000##000000
##387DAC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#687DAE
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #387dac;
/* rgb */ color: rgb(56, 125, 172);
/* oklch */ color: oklch(56.6% 0.101 241.5);
Tailwind
colors: {
  custom: {
    50: '#7ba2c5',
    500: '#387dac',
    950: '#000000',
  },
}
SCSS
$custom: #387dac;
$custom-light: #7ba2c5;
$custom-dark: #000000;
JSON
{
  "hex": "#387dac",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 172
  },
  "hsl": {
    "h": 204.31,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56647,
    "c": 0.10052,
    "h": 241.5
  },
  "luminance": 0.18487
}

Semantic roles & 50–950 ramp

primary
#387DAC
secondary
#C2997E
accent
#874DDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #387DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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