#386EC1#386EC1

#386EC1 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.4% C 0.142 H 258.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#386EC1
RGBrgb(56, 110, 193)
HSLhsl(216, 55%, 49%)
HSVhsv(216, 71%, 76%)
CMYKcmyk(71%, 43%, 0%, 24.3%)
CIE-LABlab(46.77, 10.22, -48.73)
CIE-LCHlch(46.77, 49.79, 281.85°)
OKLaboklab(54.41% -0.0275 -0.1393)
OKLCHoklch(54.41% 0.142 258.8)
XYZxyz(16.8290, 15.8411, 52.6125)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386EC1 #C18B38
analogous
#38B3C1 #386EC1 #4638C1
triadic
#386EC1 #C1386E #6EC138
tetradic
#386EC1 #C138B3 #C18B38 #38C146
square
#386EC1 #C138B3 #C18B38 #38C146
split-complementary
#386EC1 #C14638 #B3C138
monochromatic
#1C3862 #2A5392 #386EC1 #648FD2 #94B2E0

Accessibility & contrast

On white

5.04
#386EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#386EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386EC1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386EC1#FFFFFF#000000##FFFFFF
##386EC11.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4676C4
Deuteranopia (green-blind)
#2E69BF
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #386ec1;
/* rgb */ color: rgb(56, 110, 193);
/* oklch */ color: oklch(54.4% 0.142 258.8);
Tailwind
colors: {
  custom: {
    50: '#7f97d4',
    500: '#386ec1',
    950: '#000000',
  },
}
SCSS
$custom: #386ec1;
$custom-light: #7f97d4;
$custom-dark: #000000;
JSON
{
  "hex": "#386ec1",
  "rgb": {
    "r": 56,
    "g": 110,
    "b": 193
  },
  "hsl": {
    "h": 216.35,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.14197,
    "h": 258.8
  },
  "luminance": 0.15843
}

Semantic roles & 50–950 ramp

primary
#386EC1
secondary
#CBB18A
accent
#A449DE
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #386EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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