#387BAB#387BAB

#387BAB is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.1% C 0.101 H 242.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#387BAB
RGBrgb(56, 123, 171)
HSLhsl(205, 51%, 45%)
HSVhsv(205, 67%, 67%)
CMYKcmyk(67.3%, 28.1%, 0%, 32.9%)
CIE-LABlab(49.43, -5.59, -31.77)
CIE-LCHlch(49.43, 32.26, 260.02°)
OKLaboklab(56.12% -0.0463 -0.0896)
OKLCHoklch(56.12% 0.101 242.7)
XYZxyz(16.0617, 17.9453, 41.1375)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387BAB #AB6838
analogous
#38ABA1 #387BAB #3842AB
triadic
#387BAB #AB387B #7BAB38
tetradic
#387BAB #A138AB #AB6838 #42AB38
square
#387BAB #A138AB #AB6838 #42AB38
split-complementary
#387BAB #AB3842 #ABA138
monochromatic
#1A394F #295A7D #387BAB #5899C8 #86B5D7

Accessibility & contrast

On white

4.58
#387BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#387BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387BAB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387BAB#FFFFFF#000000##000000
##387BAB1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#657CAD
Deuteranopia (green-blind)
#5671AA
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #387bab;
/* rgb */ color: rgb(56, 123, 171);
/* oklch */ color: oklch(56.1% 0.101 242.7);
Tailwind
colors: {
  custom: {
    50: '#7ba1c4',
    500: '#387bab',
    950: '#000000',
  },
}
SCSS
$custom: #387bab;
$custom-light: #7ba1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#387bab",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 205.043,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56119,
    "c": 0.10082,
    "h": 242.7
  },
  "luminance": 0.17947
}

Semantic roles & 50–950 ramp

primary
#387BAB
secondary
#C19A7D
accent
#884EDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #387BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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