#387FBA#387FBA

#387FBA is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.9% C 0.115 H 246.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#387FBA
RGBrgb(56, 127, 186)
HSLhsl(207, 54%, 47%)
HSVhsv(207, 70%, 73%)
CMYKcmyk(69.9%, 31.7%, 0%, 27.1%)
CIE-LABlab(51.34, -2.70, -37.44)
CIE-LCHlch(51.34, 37.54, 265.88°)
OKLaboklab(57.86% -0.0457 -0.106)
OKLCHoklch(57.86% 0.115 246.7)
XYZxyz(18.0798, 19.5627, 49.2680)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387FBA #BA7338
analogous
#38BAB4 #387FBA #383EBA
triadic
#387FBA #BA387F #7FBA38
tetradic
#387FBA #B438BA #BA7338 #3EBA38
square
#387FBA #B438BA #BA7338 #3EBA38
split-complementary
#387FBA #BA383E #BAB438
monochromatic
#1C3F5C #2A5F8B #387FBA #609DCF #8FBADD

Accessibility & contrast

On white

4.27
#387FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#387FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387FBA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387FBA#FFFFFF#000000##000000
##387FBA1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6581BD
Deuteranopia (green-blind)
#5275B9
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #387fba;
/* rgb */ color: rgb(56, 127, 186);
/* oklch */ color: oklch(57.9% 0.115 246.7);
Tailwind
colors: {
  custom: {
    50: '#7ea3cf',
    500: '#387fba',
    950: '#000000',
  },
}
SCSS
$custom: #387fba;
$custom-light: #7ea3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#387fba",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 186
  },
  "hsl": {
    "h": 207.231,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5786,
    "c": 0.11542,
    "h": 246.7
  },
  "luminance": 0.19565
}

Semantic roles & 50–950 ramp

primary
#387FBA
secondary
#C8A486
accent
#8D4BDD
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #387FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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