#387AD1#387AD1

#387AD1 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 58.1% C 0.150 H 256.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#387AD1
RGBrgb(56, 122, 209)
HSLhsl(214, 62%, 52%)
HSVhsv(214, 73%, 82%)
CMYKcmyk(73.2%, 41.6%, 0%, 18%)
CIE-LABlab(51.11, 8.61, -50.94)
CIE-LCHlch(51.11, 51.67, 279.59°)
OKLaboklab(58.08% -0.0351 -0.1456)
OKLCHoklch(58.08% 0.15 256.4)
XYZxyz(20.0948, 19.3610, 62.9872)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387AD1 #D18F38
analogous
#38C6D1 #387AD1 #4338D1
triadic
#387AD1 #D1387A #7AD138
tetradic
#387AD1 #D138C6 #D18F38 #38D143
square
#387AD1 #D138C6 #D18F38 #38D143
split-complementary
#387AD1 #D14338 #C6D138
monochromatic
#1B4174 #265DA6 #387AD1 #6A9BDC #9BBCE8

Accessibility & contrast

On white

4.31
#387AD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#387AD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387AD1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387AD1#FFFFFF#000000##000000
##387AD11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5081D4
Deuteranopia (green-blind)
#3673CF
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #387ad1;
/* rgb */ color: rgb(56, 122, 209);
/* oklch */ color: oklch(58.1% 0.150 256.4);
Tailwind
colors: {
  custom: {
    50: '#829fdf',
    500: '#387ad1',
    950: '#000000',
  },
}
SCSS
$custom: #387ad1;
$custom-light: #829fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#387ad1",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 209
  },
  "hsl": {
    "h": 214.118,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58076,
    "c": 0.14978,
    "h": 256.4
  },
  "luminance": 0.19363
}

Semantic roles & 50–950 ramp

primary
#387AD1
secondary
#D4B791
accent
#9F42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #387AD1

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

Preview Lab → · Contrast checker → · Palette generator →

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