#387AC2#387AC2

#387AC2 is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.2% C 0.130 H 252.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#387AC2
RGBrgb(56, 122, 194)
HSLhsl(211, 55%, 49%)
HSVhsv(211, 71%, 76%)
CMYKcmyk(71.1%, 37.1%, 0%, 23.9%)
CIE-LABlab(50.28, 3.16, -43.71)
CIE-LCHlch(50.28, 43.82, 274.14°)
OKLaboklab(57.16% -0.0386 -0.1244)
OKLCHoklch(57.16% 0.13 252.8)
XYZxyz(18.3244, 18.6529, 53.6631)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387AC2 #C28038
analogous
#38BFC2 #387AC2 #3B38C2
triadic
#387AC2 #C2387A #7AC238
tetradic
#387AC2 #C238BF #C28038 #38C23B
square
#387AC2 #C238BF #C28038 #38C23B
split-complementary
#387AC2 #C23B38 #BFC238
monochromatic
#1D3E63 #2A5C93 #387AC2 #6599D2 #94B9E0

Accessibility & contrast

On white

4.44
#387AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#387AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387AC2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387AC2#FFFFFF#000000##000000
##387AC21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC5
Deuteranopia (green-blind)
#4572C1
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #387ac2;
/* rgb */ color: rgb(56, 122, 194);
/* oklch */ color: oklch(57.2% 0.130 252.8);
Tailwind
colors: {
  custom: {
    50: '#7fa0d5',
    500: '#387ac2',
    950: '#000000',
  },
}
SCSS
$custom: #387ac2;
$custom-light: #7fa0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#387ac2",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 194
  },
  "hsl": {
    "h": 211.304,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57161,
    "c": 0.13022,
    "h": 252.8
  },
  "luminance": 0.18655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #387AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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