#387EE3#387EE3

#387EE3 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.1% C 0.169 H 258.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#387EE3
RGBrgb(56, 126, 227)
HSLhsl(215, 75%, 55%)
HSVhsv(215, 75%, 89%)
CMYKcmyk(75.3%, 44.5%, 0%, 11%)
CIE-LABlab(53.28, 12.73, -57.62)
CIE-LCHlch(53.28, 59.01, 282.46°)
OKLaboklab(60.1% -0.035 -0.1651)
OKLCHoklch(60.1% 0.169 258)
XYZxyz(22.9518, 21.3059, 75.5610)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387EE3 #E39D38
analogous
#38D3E3 #387EE3 #4838E3
triadic
#387EE3 #E3387E #7EE338
tetradic
#387EE3 #E338D3 #E39D38 #38E348
square
#387EE3 #E338D3 #E39D38 #38E348
split-complementary
#387EE3 #E34838 #D3E338
monochromatic
#14458D #1B60C2 #387EE3 #6EA1EB #A3C4F2

Accessibility & contrast

On white

3.99
#387EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#387EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387EE3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387EE3#FFFFFF#000000##000000
##387EE31.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A88E7
Deuteranopia (green-blind)
#2678E1
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #387ee3;
/* rgb */ color: rgb(56, 126, 227);
/* oklch */ color: oklch(60.1% 0.169 258.0);
Tailwind
colors: {
  custom: {
    50: '#85a2ec',
    500: '#387ee3',
    950: '#000000',
  },
}
SCSS
$custom: #387ee3;
$custom-light: #85a2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#387ee3",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 227
  },
  "hsl": {
    "h": 215.439,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60101,
    "c": 0.16882,
    "h": 258
  },
  "luminance": 0.21309
}

Semantic roles & 50–950 ramp

primary
#387EE3
secondary
#DFC298
accent
#A536F2
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #387EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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