#387FE3#387FE3

#387FE3 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.3% C 0.168 H 257.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#387FE3
RGBrgb(56, 127, 227)
HSLhsl(215, 75%, 55%)
HSVhsv(215, 75%, 89%)
CMYKcmyk(75.3%, 44.1%, 0%, 11%)
CIE-LABlab(53.56, 12.11, -57.17)
CIE-LCHlch(53.56, 58.44, 281.96°)
OKLaboklab(60.32% -0.0359 -0.1638)
OKLCHoklch(60.32% 0.168 257.6)
XYZxyz(23.0803, 21.5629, 75.6038)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387FE3 #E39C38
analogous
#38D4E3 #387FE3 #4738E3
triadic
#387FE3 #E3387F #7FE338
tetradic
#387FE3 #E338D4 #E39C38 #38E347
square
#387FE3 #E338D4 #E39C38 #38E347
split-complementary
#387FE3 #E34738 #D4E338
monochromatic
#14468D #1B61C2 #387FE3 #6EA2EB #A3C4F2

Accessibility & contrast

On white

3.95
#387FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#387FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387FE3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387FE3#FFFFFF#000000##000000
##387FE31.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C88E7
Deuteranopia (green-blind)
#2979E1
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #387fe3;
/* rgb */ color: rgb(56, 127, 227);
/* oklch */ color: oklch(60.3% 0.168 257.6);
Tailwind
colors: {
  custom: {
    50: '#85a3ec',
    500: '#387fe3',
    950: '#000000',
  },
}
SCSS
$custom: #387fe3;
$custom-light: #85a3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#387fe3",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 215.088,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60315,
    "c": 0.1677,
    "h": 257.6
  },
  "luminance": 0.21566
}

Semantic roles & 50–950 ramp

primary
#387FE3
secondary
#DFC198
accent
#A436F2
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #387FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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