#386EC4#386EC4

#386EC4 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.6% C 0.146 H 259.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#386EC4
RGBrgb(56, 110, 196)
HSLhsl(217, 56%, 49%)
HSVhsv(217, 71%, 77%)
CMYKcmyk(71.4%, 43.9%, 0%, 23.1%)
CIE-LABlab(46.94, 11.32, -50.17)
CIE-LCHlch(46.94, 51.43, 282.72°)
OKLaboklab(54.61% -0.0269 -0.1435)
OKLCHoklch(54.61% 0.146 259.4)
XYZxyz(17.1670, 15.9763, 54.3928)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386EC4 #C48E38
analogous
#38B4C4 #386EC4 #4838C4
triadic
#386EC4 #C4386E #6EC438
tetradic
#386EC4 #C438B4 #C48E38 #38C448
square
#386EC4 #C438B4 #C48E38 #38C448
split-complementary
#386EC4 #C44838 #B4C438
monochromatic
#1D3965 #2A5394 #386EC4 #6690D3 #96B3E1

Accessibility & contrast

On white

5.01
#386EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#386EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386EC4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386EC4#FFFFFF#000000##FFFFFF
##386EC41.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4476C7
Deuteranopia (green-blind)
#2A69C2
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #386ec4;
/* rgb */ color: rgb(56, 110, 196);
/* oklch */ color: oklch(54.6% 0.146 259.4);
Tailwind
colors: {
  custom: {
    50: '#8097d6',
    500: '#386ec4',
    950: '#000000',
  },
}
SCSS
$custom: #386ec4;
$custom-light: #8097d6;
$custom-dark: #000000;
JSON
{
  "hex": "#386ec4",
  "rgb": {
    "r": 56,
    "g": 110,
    "b": 196
  },
  "hsl": {
    "h": 216.857,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54606,
    "c": 0.14604,
    "h": 259.4
  },
  "luminance": 0.15978
}

Semantic roles & 50–950 ramp

primary
#386EC4
secondary
#CCB38C
accent
#A549DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #386EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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