#387BE1#387BE1

#387BE1 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.3% C 0.170 H 258.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#387BE1
RGBrgb(56, 123, 225)
HSLhsl(216, 74%, 55%)
HSVhsv(216, 75%, 88%)
CMYKcmyk(75.1%, 45.3%, 0%, 11.8%)
CIE-LABlab(52.33, 13.85, -58.02)
CIE-LCHlch(52.33, 59.65, 283.43°)
OKLaboklab(59.33% -0.0329 -0.1664)
OKLCHoklch(59.33% 0.17 258.8)
XYZxyz(22.2995, 20.4404, 73.9897)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387BE1 #E19E38
analogous
#38CFE1 #387BE1 #4938E1
triadic
#387BE1 #E1387B #7BE138
tetradic
#387BE1 #E138CF #E19E38 #38E149
square
#387BE1 #E138CF #E19E38 #38E149
split-complementary
#387BE1 #E14938 #CFE138
monochromatic
#15438A #1D5DBF #387BE1 #6D9EE9 #A2C2F1

Accessibility & contrast

On white

4.13
#387BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#387BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387BE1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387BE1#FFFFFF#000000##000000
##387BE11.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4585E5
Deuteranopia (green-blind)
#1F76DF
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #387be1;
/* rgb */ color: rgb(56, 123, 225);
/* oklch */ color: oklch(59.3% 0.170 258.8);
Tailwind
colors: {
  custom: {
    50: '#85a0eb',
    500: '#387be1',
    950: '#000000',
  },
}
SCSS
$custom: #387be1;
$custom-light: #85a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#387be1",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 225
  },
  "hsl": {
    "h": 216.213,
    "s": 73.799,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59328,
    "c": 0.16962,
    "h": 258.8
  },
  "luminance": 0.20443
}

Semantic roles & 50–950 ramp

primary
#387BE1
secondary
#DEC297
accent
#A737F0
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #387BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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