#387BCB#387BCB

#387BCB is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.9% C 0.141 H 254.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#387BCB
RGBrgb(56, 123, 203)
HSLhsl(213, 59%, 51%)
HSVhsv(213, 72%, 80%)
CMYKcmyk(72.4%, 39.4%, 0%, 20.4%)
CIE-LABlab(51.06, 5.81, -47.61)
CIE-LCHlch(51.06, 47.97, 276.96°)
OKLaboklab(57.93% -0.0373 -0.1358)
OKLCHoklch(57.93% 0.141 254.6)
XYZxyz(19.4894, 19.3163, 59.1896)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387BCB #CB8838
analogous
#38C5CB #387BCB #3E38CB
triadic
#387BCB #CB387B #7BCB38
tetradic
#387BCB #CB38C5 #CB8838 #38CB3E
square
#387BCB #CB38C5 #CB8838 #38CB3E
split-complementary
#387BCB #CB3E38 #C5CB38
monochromatic
#1C416C #295E9D #387BCB #699BD8 #99BBE4

Accessibility & contrast

On white

4.32
#387BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#387BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387BCB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387BCB#FFFFFF#000000##000000
##387BCB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #387bcb;
/* rgb */ color: rgb(56, 123, 203);
/* oklch */ color: oklch(57.9% 0.141 254.6);
Tailwind
colors: {
  custom: {
    50: '#81a0db',
    500: '#387bcb',
    950: '#000000',
  },
}
SCSS
$custom: #387bcb;
$custom-light: #81a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#387bcb",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 203
  },
  "hsl": {
    "h": 212.653,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.14085,
    "h": 254.6
  },
  "luminance": 0.19318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #387BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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