#387DE3#387DE3

#387DE3 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.9% C 0.170 H 258.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#387DE3
RGBrgb(56, 125, 227)
HSLhsl(216, 75%, 55%)
HSVhsv(216, 75%, 89%)
CMYKcmyk(75.3%, 44.9%, 0%, 11%)
CIE-LABlab(53.01, 13.35, -58.06)
CIE-LCHlch(53.01, 59.57, 282.94°)
OKLaboklab(59.89% -0.0342 -0.1665)
OKLCHoklch(59.89% 0.17 258.4)
XYZxyz(22.8246, 21.0514, 75.5186)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387DE3 #E39E38
analogous
#38D3E3 #387DE3 #4838E3
triadic
#387DE3 #E3387D #7DE338
tetradic
#387DE3 #E338D3 #E39E38 #38E348
square
#387DE3 #E338D3 #E39E38 #38E348
split-complementary
#387DE3 #E34838 #D3E338
monochromatic
#14458D #1B5FC2 #387DE3 #6EA0EB #A3C3F2

Accessibility & contrast

On white

4.03
#387DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#387DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387DE3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387DE3#FFFFFF#000000##000000
##387DE31.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4887E7
Deuteranopia (green-blind)
#2277E1
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #387de3;
/* rgb */ color: rgb(56, 125, 227);
/* oklch */ color: oklch(59.9% 0.170 258.4);
Tailwind
colors: {
  custom: {
    50: '#85a2ec',
    500: '#387de3',
    950: '#000000',
  },
}
SCSS
$custom: #387de3;
$custom-light: #85a2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#387de3",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 227
  },
  "hsl": {
    "h": 215.789,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59887,
    "c": 0.16995,
    "h": 258.4
  },
  "luminance": 0.21054
}

Semantic roles & 50–950 ramp

primary
#387DE3
secondary
#DFC298
accent
#A636F2
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #387DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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