#387AC7#387AC7

#387AC7 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.5% C 0.137 H 254.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#387AC7
RGBrgb(56, 122, 199)
HSLhsl(212, 56%, 50%)
HSVhsv(212, 72%, 78%)
CMYKcmyk(71.9%, 38.7%, 0%, 22%)
CIE-LABlab(50.55, 4.97, -46.14)
CIE-LCHlch(50.55, 46.41, 276.15°)
OKLaboklab(57.46% -0.0374 -0.1315)
OKLCHoklch(57.46% 0.137 254.1)
XYZxyz(18.8954, 18.8813, 56.6704)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387AC7 #C78538
analogous
#38C1C7 #387AC7 #3E38C7
triadic
#387AC7 #C7387A #7AC738
tetradic
#387AC7 #C738C1 #C78538 #38C73E
square
#387AC7 #C738C1 #C78538 #38C73E
split-complementary
#387AC7 #C73E38 #C1C738
monochromatic
#1D3F67 #2B5D97 #387AC7 #689AD4 #98BAE2

Accessibility & contrast

On white

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

On black

4.78
#387AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387AC7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387AC7#FFFFFF#000000##000000
##387AC71.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CA
Deuteranopia (green-blind)
#4072C5
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #387ac7;
/* rgb */ color: rgb(56, 122, 199);
/* oklch */ color: oklch(57.5% 0.137 254.1);
Tailwind
colors: {
  custom: {
    50: '#80a0d8',
    500: '#387ac7',
    950: '#000000',
  },
}
SCSS
$custom: #387ac7;
$custom-light: #80a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#387ac7",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 199
  },
  "hsl": {
    "h": 212.308,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.57459,
    "c": 0.13671,
    "h": 254.1
  },
  "luminance": 0.18883
}

Semantic roles & 50–950 ramp

primary
#387AC7
secondary
#CDB08D
accent
#9A48DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #387AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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