#387FAA#387FAA

#387FAA is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.0% C 0.097 H 238.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#387FAA
RGBrgb(56, 127, 170)
HSLhsl(203, 50%, 44%)
HSVhsv(203, 67%, 67%)
CMYKcmyk(67.1%, 25.3%, 0%, 33.3%)
CIE-LABlab(50.59, -8.27, -29.38)
CIE-LCHlch(50.59, 30.52, 254.28°)
OKLaboklab(57.03% -0.0508 -0.0826)
OKLCHoklch(57.03% 0.097 238.4)
XYZxyz(16.4732, 18.9200, 40.8062)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387FAA #AA6338
analogous
#38AA9C #387FAA #3846AA
triadic
#387FAA #AA387F #7FAA38
tetradic
#387FAA #9C38AA #AA6338 #46AA38
square
#387FAA #9C38AA #AA6338 #46AA38
split-complementary
#387FAA #AA3846 #AA9C38
monochromatic
#1A3A4E #295D7C #387FAA #579DC8 #85B8D7

Accessibility & contrast

On white

4.39
#387FAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#387FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387FAA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387FAA#FFFFFF#000000##000000
##387FAA1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7FAC
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #387faa;
/* rgb */ color: rgb(56, 127, 170);
/* oklch */ color: oklch(57.0% 0.097 238.4);
Tailwind
colors: {
  custom: {
    50: '#7ba4c3',
    500: '#387faa',
    950: '#000000',
  },
}
SCSS
$custom: #387faa;
$custom-light: #7ba4c3;
$custom-dark: #000000;
JSON
{
  "hex": "#387faa",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 170
  },
  "hsl": {
    "h": 202.632,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57025,
    "c": 0.097,
    "h": 238.4
  },
  "luminance": 0.18922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #387FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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