#387FAF#387FAF

#387FAF is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.103 H 241.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#387FAF
RGBrgb(56, 127, 175)
HSLhsl(204, 52%, 45%)
HSVhsv(204, 68%, 69%)
CMYKcmyk(68%, 27.4%, 0%, 31.4%)
CIE-LABlab(50.82, -6.55, -31.92)
CIE-LCHlch(50.82, 32.59, 258.41°)
OKLaboklab(57.28% -0.0491 -0.09)
OKLCHoklch(57.28% 0.103 241.4)
XYZxyz(16.9552, 19.1128, 43.3447)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387FAF #AF6838
analogous
#38AFA4 #387FAF #3843AF
triadic
#387FAF #AF387F #7FAF38
tetradic
#387FAF #A438AF #AF6838 #43AF38
square
#387FAF #A438AF #AF6838 #43AF38
split-complementary
#387FAF #AF3843 #AFA438
monochromatic
#1A3C52 #295D81 #387FAF #5A9DCA #88B8D9

Accessibility & contrast

On white

4.35
#387FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#387FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387FAF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387FAF#FFFFFF#000000##000000
##387FAF1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#697FB1
Deuteranopia (green-blind)
#5974AE
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #387faf;
/* rgb */ color: rgb(56, 127, 175);
/* oklch */ color: oklch(57.3% 0.103 241.4);
Tailwind
colors: {
  custom: {
    50: '#7ca4c7',
    500: '#387faf',
    950: '#000000',
  },
}
SCSS
$custom: #387faf;
$custom-light: #7ca4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#387faf",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 175
  },
  "hsl": {
    "h": 204.202,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57278,
    "c": 0.10252,
    "h": 241.4
  },
  "luminance": 0.19115
}

Semantic roles & 50–950 ramp

primary
#387FAF
secondary
#C39B80
accent
#864DDB
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #387FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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