#386BC7#386BC7

#386BC7 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.2% C 0.154 H 261.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#386BC7
RGBrgb(56, 107, 199)
HSLhsl(219, 56%, 50%)
HSVhsv(219, 72%, 78%)
CMYKcmyk(71.9%, 46.2%, 0%, 22%)
CIE-LABlab(46.28, 14.32, -52.96)
CIE-LCHlch(46.28, 54.86, 285.13°)
OKLaboklab(54.16% -0.0237 -0.1518)
OKLCHoklch(54.16% 0.154 261.1)
XYZxyz(17.1937, 15.4778, 56.1031)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386BC7 #C79438
analogous
#38B3C7 #386BC7 #4C38C7
triadic
#386BC7 #C7386B #6BC738
tetradic
#386BC7 #C738B3 #C79438 #38C74C
square
#386BC7 #C738B3 #C79438 #38C74C
split-complementary
#386BC7 #C74C38 #B3C738
monochromatic
#1D3867 #2B5197 #386BC7 #688FD4 #98B2E2

Accessibility & contrast

On white

5.13
#386BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#386BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386BC7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386BC7#FFFFFF#000000##FFFFFF
##386BC71.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CA
Deuteranopia (green-blind)
#1B68C5
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #386bc7;
/* rgb */ color: rgb(56, 107, 199);
/* oklch */ color: oklch(54.2% 0.154 261.1);
Tailwind
colors: {
  custom: {
    50: '#8094d8',
    500: '#386bc7',
    950: '#000000',
  },
}
SCSS
$custom: #386bc7;
$custom-light: #8094d8;
$custom-dark: #000000;
JSON
{
  "hex": "#386bc7",
  "rgb": {
    "r": 56,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 218.601,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.54155,
    "c": 0.15362,
    "h": 261.1
  },
  "luminance": 0.1548
}

Semantic roles & 50–950 ramp

primary
#386BC7
secondary
#CDB78D
accent
#AA48DF
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #386BC7

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

Preview Lab → · Contrast checker → · Palette generator →

#386BC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva