#387BDA#387BDA

#387BDA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.9% C 0.160 H 257.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#387BDA
RGBrgb(56, 123, 218)
HSLhsl(215, 69%, 54%)
HSVhsv(215, 74%, 85%)
CMYKcmyk(74.3%, 43.6%, 0%, 14.5%)
CIE-LABlab(51.91, 11.28, -54.75)
CIE-LCHlch(51.91, 55.90, 281.65°)
OKLaboklab(58.87% -0.0342 -0.1568)
OKLCHoklch(58.87% 0.16 257.7)
XYZxyz(21.3641, 20.0662, 69.0633)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387BDA #DA9738
analogous
#38CCDA #387BDA #4638DA
triadic
#387BDA #DA387B #7BDA38
tetradic
#387BDA #DA38CC #DA9738 #38DA46
square
#387BDA #DA38CC #DA9738 #38DA46
split-complementary
#387BDA #DA4638 #CCDA38
monochromatic
#184380 #215EB3 #387BDA #6C9DE4 #9FBFED

Accessibility & contrast

On white

4.19
#387BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#387BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387BDA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387BDA#FFFFFF#000000##000000
##387BDA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DE
Deuteranopia (green-blind)
#2C75D8
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #387bda;
/* rgb */ color: rgb(56, 123, 218);
/* oklch */ color: oklch(58.9% 0.160 257.7);
Tailwind
colors: {
  custom: {
    50: '#84a0e6',
    500: '#387bda',
    950: '#000000',
  },
}
SCSS
$custom: #387bda;
$custom-light: #84a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#387bda",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 215.185,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58869,
    "c": 0.16046,
    "h": 257.7
  },
  "luminance": 0.20069
}

Semantic roles & 50–950 ramp

primary
#387BDA
secondary
#DABD94
accent
#A33CEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #387BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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