#387AC1#387AC1

#387AC1 is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.1% C 0.129 H 252.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#387AC1
RGBrgb(56, 122, 193)
HSLhsl(211, 55%, 49%)
HSVhsv(211, 71%, 76%)
CMYKcmyk(71%, 36.8%, 0%, 24.3%)
CIE-LABlab(50.23, 2.80, -43.22)
CIE-LCHlch(50.23, 43.31, 273.71°)
OKLaboklab(57.1% -0.0388 -0.1229)
OKLCHoklch(57.1% 0.129 252.5)
XYZxyz(18.2125, 18.6081, 53.0736)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387AC1 #C17F38
analogous
#38BFC1 #387AC1 #3B38C1
triadic
#387AC1 #C1387A #7AC138
tetradic
#387AC1 #C138BF #C17F38 #38C13B
square
#387AC1 #C138BF #C17F38 #38C13B
split-complementary
#387AC1 #C13B38 #BFC138
monochromatic
#1C3E62 #2A5C92 #387AC1 #6499D2 #94B8E0

Accessibility & contrast

On white

4.45
#387AC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#387AC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387AC1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387AC1#FFFFFF#000000##000000
##387AC11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7FC4
Deuteranopia (green-blind)
#4672C0
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #387ac1;
/* rgb */ color: rgb(56, 122, 193);
/* oklch */ color: oklch(57.1% 0.129 252.5);
Tailwind
colors: {
  custom: {
    50: '#7fa0d4',
    500: '#387ac1',
    950: '#000000',
  },
}
SCSS
$custom: #387ac1;
$custom-light: #7fa0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#387ac1",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 193
  },
  "hsl": {
    "h": 211.095,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57102,
    "c": 0.12893,
    "h": 252.5
  },
  "luminance": 0.1861
}

Semantic roles & 50–950 ramp

primary
#387AC1
secondary
#CBAC8A
accent
#9749DE
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #387AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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