#387AC6#387AC6

#387AC6 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.4% C 0.135 H 253.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#387AC6
RGBrgb(56, 122, 198)
HSLhsl(212, 56%, 50%)
HSVhsv(212, 72%, 78%)
CMYKcmyk(71.7%, 38.4%, 0%, 22.4%)
CIE-LABlab(50.49, 4.61, -45.65)
CIE-LCHlch(50.49, 45.89, 275.76°)
OKLaboklab(57.4% -0.0376 -0.1301)
OKLCHoklch(57.4% 0.135 253.9)
XYZxyz(18.7797, 18.8350, 56.0609)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387AC6 #C68438
analogous
#38C1C6 #387AC6 #3D38C6
triadic
#387AC6 #C6387A #7AC638
tetradic
#387AC6 #C638C1 #C68438 #38C63D
square
#387AC6 #C638C1 #C68438 #38C63D
split-complementary
#387AC6 #C63D38 #C1C638
monochromatic
#1D3F67 #2B5D96 #387AC6 #679AD4 #97BAE2

Accessibility & contrast

On white

4.40
#387AC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#387AC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387AC6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387AC6#FFFFFF#000000##000000
##387AC61.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC9
Deuteranopia (green-blind)
#4172C4
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #387ac6;
/* rgb */ color: rgb(56, 122, 198);
/* oklch */ color: oklch(57.4% 0.135 253.9);
Tailwind
colors: {
  custom: {
    50: '#80a0d8',
    500: '#387ac6',
    950: '#000000',
  },
}
SCSS
$custom: #387ac6;
$custom-light: #80a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#387ac6",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 198
  },
  "hsl": {
    "h": 212.113,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57399,
    "c": 0.13541,
    "h": 253.9
  },
  "luminance": 0.18837
}

Semantic roles & 50–950 ramp

primary
#387AC6
secondary
#CDAF8D
accent
#9949DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #387AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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