#387ACC#387ACC

#387ACC is a mid, vivid cyan. Relative luminance 0.191; OKLCH L 57.8% C 0.143 H 255.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#387ACC
RGBrgb(56, 122, 204)
HSLhsl(213, 59%, 51%)
HSVhsv(213, 73%, 80%)
CMYKcmyk(72.5%, 40.2%, 0%, 20%)
CIE-LABlab(50.82, 6.79, -48.55)
CIE-LCHlch(50.82, 49.02, 277.96°)
OKLaboklab(57.76% -0.0362 -0.1386)
OKLCHoklch(57.76% 0.143 255.4)
XYZxyz(19.4855, 19.1173, 59.7781)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387ACC #CC8A38
analogous
#38C4CC #387ACC #4038CC
triadic
#387ACC #CC387A #7ACC38
tetradic
#387ACC #CC38C4 #CC8A38 #38CC40
square
#387ACC #CC38C4 #CC8A38 #38CC40
split-complementary
#387ACC #CC4038 #C4CC38
monochromatic
#1C406E #295D9E #387ACC #699BD8 #99BBE5

Accessibility & contrast

On white

4.35
#387ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#387ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387ACC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387ACC#FFFFFF#000000##000000
##387ACC1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CF
Deuteranopia (green-blind)
#3B73CA
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #387acc;
/* rgb */ color: rgb(56, 122, 204);
/* oklch */ color: oklch(57.8% 0.143 255.4);
Tailwind
colors: {
  custom: {
    50: '#819fdc',
    500: '#387acc',
    950: '#000000',
  },
}
SCSS
$custom: #387acc;
$custom-light: #819fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#387acc",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 213.243,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57764,
    "c": 0.14323,
    "h": 255.4
  },
  "luminance": 0.19119
}

Semantic roles & 50–950 ramp

primary
#387ACC
secondary
#D1B38F
accent
#9C45E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #387ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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