#387AE1#387AE1

#387AE1 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.1% C 0.171 H 259.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#387AE1
RGBrgb(56, 122, 225)
HSLhsl(217, 74%, 55%)
HSVhsv(217, 75%, 88%)
CMYKcmyk(75.1%, 45.8%, 0%, 11.8%)
CIE-LABlab(52.06, 14.47, -58.46)
CIE-LCHlch(52.06, 60.23, 283.90°)
OKLaboklab(59.11% -0.0321 -0.1677)
OKLCHoklch(59.11% 0.171 259.2)
XYZxyz(22.1761, 20.1935, 73.9486)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387AE1 #E19F38
analogous
#38CEE1 #387AE1 #4A38E1
triadic
#387AE1 #E1387A #7AE138
tetradic
#387AE1 #E138CE #E19F38 #38E14A
square
#387AE1 #E138CE #E19F38 #38E14A
split-complementary
#387AE1 #E14A38 #CEE138
monochromatic
#15428A #1D5CBF #387AE1 #6D9EE9 #A2C1F1

Accessibility & contrast

On white

4.17
#387AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#387AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387AE1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387AE1#FFFFFF#000000##000000
##387AE11.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4384E5
Deuteranopia (green-blind)
#1A75DF
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #387ae1;
/* rgb */ color: rgb(56, 122, 225);
/* oklch */ color: oklch(59.1% 0.171 259.2);
Tailwind
colors: {
  custom: {
    50: '#859feb',
    500: '#387ae1',
    950: '#000000',
  },
}
SCSS
$custom: #387ae1;
$custom-light: #859feb;
$custom-dark: #000000;
JSON
{
  "hex": "#387ae1",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 225
  },
  "hsl": {
    "h": 216.568,
    "s": 73.799,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59115,
    "c": 0.17076,
    "h": 259.2
  },
  "luminance": 0.20196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #387AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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