#387AC4#387AC4

#387AC4 is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.3% C 0.133 H 253.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#387AC4
RGBrgb(56, 122, 196)
HSLhsl(212, 56%, 49%)
HSVhsv(212, 71%, 77%)
CMYKcmyk(71.4%, 37.8%, 0%, 23.1%)
CIE-LABlab(50.39, 3.89, -44.68)
CIE-LCHlch(50.39, 44.85, 274.97°)
OKLaboklab(57.28% -0.0381 -0.1272)
OKLCHoklch(57.28% 0.133 253.3)
XYZxyz(18.5505, 18.7433, 54.8540)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387AC4 #C48238
analogous
#38C0C4 #387AC4 #3C38C4
triadic
#387AC4 #C4387A #7AC438
tetradic
#387AC4 #C438C0 #C48238 #38C43C
square
#387AC4 #C438C0 #C48238 #38C43C
split-complementary
#387AC4 #C43C38 #C0C438
monochromatic
#1D3F65 #2A5C94 #387AC4 #6699D3 #96B9E1

Accessibility & contrast

On white

4.42
#387AC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#387AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387AC4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387AC4#FFFFFF#000000##000000
##387AC41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#587FC7
Deuteranopia (green-blind)
#4372C3
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #387ac4;
/* rgb */ color: rgb(56, 122, 196);
/* oklch */ color: oklch(57.3% 0.133 253.3);
Tailwind
colors: {
  custom: {
    50: '#7fa0d6',
    500: '#387ac4',
    950: '#000000',
  },
}
SCSS
$custom: #387ac4;
$custom-light: #7fa0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#387ac4",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 196
  },
  "hsl": {
    "h": 211.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5728,
    "c": 0.13281,
    "h": 253.3
  },
  "luminance": 0.18745
}

Semantic roles & 50–950 ramp

primary
#387AC4
secondary
#CCAE8C
accent
#9849DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #387AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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