#387BDD#387BDD

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

Color values

HEX#387BDD
RGBrgb(56, 123, 221)
HSLhsl(216, 71%, 54%)
HSVhsv(216, 75%, 87%)
CMYKcmyk(74.7%, 44.3%, 0%, 13.3%)
CIE-LABlab(52.09, 12.38, -56.16)
CIE-LCHlch(52.09, 57.51, 282.44°)
OKLaboklab(59.06% -0.0336 -0.1609)
OKLCHoklch(59.06% 0.164 258.2)
XYZxyz(21.7602, 20.2247, 71.1495)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387BDD #DD9A38
analogous
#38CEDD #387BDD #4838DD
triadic
#387BDD #DD387B #7BDD38
tetradic
#387BDD #DD38CE #DD9A38 #38DD48
square
#387BDD #DD38CE #DD9A38 #38DD48
split-complementary
#387BDD #DD4838 #CEDD38
monochromatic
#174384 #1F5EB8 #387BDD #6C9EE6 #A1C0EF

Accessibility & contrast

On white

4.16
#387BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#387BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387BDD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387BDD#FFFFFF#000000##000000
##387BDD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E1
Deuteranopia (green-blind)
#2775DB
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #387bdd;
/* rgb */ color: rgb(56, 123, 221);
/* oklch */ color: oklch(59.1% 0.164 258.2);
Tailwind
colors: {
  custom: {
    50: '#84a0e8',
    500: '#387bdd',
    950: '#000000',
  },
}
SCSS
$custom: #387bdd;
$custom-light: #84a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#387bdd",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 215.636,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59064,
    "c": 0.16438,
    "h": 258.2
  },
  "luminance": 0.20227
}

Semantic roles & 50–950 ramp

primary
#387BDD
secondary
#DBBF95
accent
#A53AEE
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #387BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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