#387CCB#387CCB

#387CCB is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.1% C 0.140 H 254.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#387CCB
RGBrgb(56, 124, 203)
HSLhsl(212, 59%, 51%)
HSVhsv(212, 72%, 80%)
CMYKcmyk(72.4%, 38.9%, 0%, 20.4%)
CIE-LABlab(51.34, 5.20, -47.16)
CIE-LCHlch(51.34, 47.44, 276.29°)
OKLaboklab(58.15% -0.0383 -0.1344)
OKLCHoklch(58.15% 0.14 254.1)
XYZxyz(19.6140, 19.5657, 59.2312)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387CCB #CB8738
analogous
#38C5CB #387CCB #3D38CB
triadic
#387CCB #CB387C #7CCB38
tetradic
#387CCB #CB38C5 #CB8738 #38CB3D
square
#387CCB #CB38C5 #CB8738 #38CB3D
split-complementary
#387CCB #CB3D38 #C5CB38
monochromatic
#1C416C #295F9D #387CCB #699CD8 #99BCE4

Accessibility & contrast

On white

4.27
#387CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#387CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387CCB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387CCB#FFFFFF#000000##000000
##387CCB1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CE
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #387ccb;
/* rgb */ color: rgb(56, 124, 203);
/* oklch */ color: oklch(58.1% 0.140 254.1);
Tailwind
colors: {
  custom: {
    50: '#81a1db',
    500: '#387ccb',
    950: '#000000',
  },
}
SCSS
$custom: #387ccb;
$custom-light: #81a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#387ccb",
  "rgb": {
    "r": 56,
    "g": 124,
    "b": 203
  },
  "hsl": {
    "h": 212.245,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5815,
    "c": 0.13979,
    "h": 254.1
  },
  "luminance": 0.19568
}

Semantic roles & 50–950 ramp

primary
#387CCB
secondary
#D0B28F
accent
#9A46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #387CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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