#386DC7#386DC7

#386DC7 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.6% C 0.151 H 260.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#386DC7
RGBrgb(56, 109, 199)
HSLhsl(218, 56%, 50%)
HSVhsv(218, 72%, 78%)
CMYKcmyk(71.9%, 45.2%, 0%, 22%)
CIE-LABlab(46.84, 13.06, -52.06)
CIE-LCHlch(46.84, 53.67, 284.08°)
OKLaboklab(54.59% -0.0255 -0.1491)
OKLCHoklch(54.59% 0.151 260.3)
XYZxyz(17.4046, 15.8997, 56.1734)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386DC7 #C79238
analogous
#38B5C7 #386DC7 #4A38C7
triadic
#386DC7 #C7386D #6DC738
tetradic
#386DC7 #C738B5 #C79238 #38C74A
square
#386DC7 #C738B5 #C79238 #38C74A
split-complementary
#386DC7 #C74A38 #B5C738
monochromatic
#1D3967 #2B5397 #386DC7 #6890D4 #98B3E2

Accessibility & contrast

On white

5.02
#386DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#386DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386DC7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386DC7#FFFFFF#000000##FFFFFF
##386DC71.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F76CA
Deuteranopia (green-blind)
#2269C5
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #386dc7;
/* rgb */ color: rgb(56, 109, 199);
/* oklch */ color: oklch(54.6% 0.151 260.3);
Tailwind
colors: {
  custom: {
    50: '#8096d8',
    500: '#386dc7',
    950: '#000000',
  },
}
SCSS
$custom: #386dc7;
$custom-light: #8096d8;
$custom-dark: #000000;
JSON
{
  "hex": "#386dc7",
  "rgb": {
    "r": 56,
    "g": 109,
    "b": 199
  },
  "hsl": {
    "h": 217.762,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.54586,
    "c": 0.15126,
    "h": 260.3
  },
  "luminance": 0.15902
}

Semantic roles & 50–950 ramp

primary
#386DC7
secondary
#CDB68D
accent
#A748DF
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #386DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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