#386BC5#386BC5

#386BC5 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.0% C 0.151 H 260.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#386BC5
RGBrgb(56, 107, 197)
HSLhsl(218, 56%, 50%)
HSVhsv(218, 72%, 77%)
CMYKcmyk(71.6%, 45.7%, 0%, 22.7%)
CIE-LABlab(46.16, 13.59, -52.00)
CIE-LCHlch(46.16, 53.75, 284.64°)
OKLaboklab(54.02% -0.0241 -0.149)
OKLCHoklch(54.02% 0.151 260.8)
XYZxyz(16.9630, 15.3856, 54.8882)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386BC5 #C59238
analogous
#38B2C5 #386BC5 #4C38C5
triadic
#386BC5 #C5386B #6BC538
tetradic
#386BC5 #C538B2 #C59238 #38C54C
square
#386BC5 #C538B2 #C59238 #38C54C
split-complementary
#386BC5 #C54C38 #B2C538
monochromatic
#1D3766 #2A5195 #386BC5 #678ED4 #96B1E1

Accessibility & contrast

On white

5.15
#386BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#386BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386BC5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386BC5#FFFFFF#000000##FFFFFF
##386BC51.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D74C8
Deuteranopia (green-blind)
#1F67C3
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #386bc5;
/* rgb */ color: rgb(56, 107, 197);
/* oklch */ color: oklch(54.0% 0.151 260.8);
Tailwind
colors: {
  custom: {
    50: '#8094d7',
    500: '#386bc5',
    950: '#000000',
  },
}
SCSS
$custom: #386bc5;
$custom-light: #8094d7;
$custom-dark: #000000;
JSON
{
  "hex": "#386bc5",
  "rgb": {
    "r": 56,
    "g": 107,
    "b": 197
  },
  "hsl": {
    "h": 218.298,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5402,
    "c": 0.1509,
    "h": 260.8
  },
  "luminance": 0.15387
}

Semantic roles & 50–950 ramp

primary
#386BC5
secondary
#CDB58C
accent
#A949DF
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #386BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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