#387FF2#387FF2

#387FF2 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.3% C 0.187 H 259.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#387FF2
RGBrgb(56, 127, 242)
HSLhsl(217, 88%, 58%)
HSVhsv(217, 77%, 95%)
CMYKcmyk(76.9%, 47.5%, 0%, 5.1%)
CIE-LABlab(54.48, 17.60, -64.06)
CIE-LCHlch(54.48, 66.44, 285.37°)
OKLaboklab(61.32% -0.0334 -0.1841)
OKLCHoklch(61.32% 0.187 259.7)
XYZxyz(25.2414, 22.4274, 86.9858)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387FF2 #F2AB38
analogous
#38DCF2 #387FF2 #4E38F2
triadic
#387FF2 #F2387F #7FF238
tetradic
#387FF2 #F238DC #F2AB38 #38F24E
square
#387FF2 #F238DC #F2AB38 #38F24E
split-complementary
#387FF2 #F24E38 #DCF238
monochromatic
#0B46A5 #0F5EDE #387FF2 #71A4F6 #ABC9FA

Accessibility & contrast

On white

3.83
#387FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#387FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387FF2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387FF2#FFFFFF#000000##000000
##387FF21.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8BF6
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#009BAD
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #387ff2;
/* rgb */ color: rgb(56, 127, 242);
/* oklch */ color: oklch(61.3% 0.187 259.7);
Tailwind
colors: {
  custom: {
    50: '#88a3f7',
    500: '#387ff2',
    950: '#000000',
  },
}
SCSS
$custom: #387ff2;
$custom-light: #88a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#387ff2",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 217.097,
    "s": 87.736,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61317,
    "c": 0.18711,
    "h": 259.7
  },
  "luminance": 0.2243
}

Semantic roles & 50–950 ramp

primary
#387FF2
secondary
#E8CC9E
accent
#AD2AFE
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0D0F17
muted
#7E7E85

Preview Lab

Preview with #387FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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