#386EC3#386EC3

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

Color values

HEX#386EC3
RGBrgb(56, 110, 195)
HSLhsl(217, 55%, 49%)
HSVhsv(217, 71%, 76%)
CMYKcmyk(71.3%, 43.6%, 0%, 23.5%)
CIE-LABlab(46.88, 10.96, -49.69)
CIE-LCHlch(46.88, 50.88, 282.44°)
OKLaboklab(54.54% -0.0271 -0.1421)
OKLCHoklch(54.54% 0.145 259.2)
XYZxyz(17.0536, 15.9309, 53.7954)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386EC3 #C38D38
analogous
#38B3C3 #386EC3 #4838C3
triadic
#386EC3 #C3386E #6EC338
tetradic
#386EC3 #C338B3 #C38D38 #38C348
square
#386EC3 #C338B3 #C38D38 #38C348
split-complementary
#386EC3 #C34838 #B3C338
monochromatic
#1D3864 #2A5393 #386EC3 #6590D3 #95B2E1

Accessibility & contrast

On white

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

On black

4.19
#386EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##386EC3#FFFFFF#000000##FFFFFF
##386EC31.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #386ec3;
/* rgb */ color: rgb(56, 110, 195);
/* oklch */ color: oklch(54.5% 0.145 259.2);
Tailwind
colors: {
  custom: {
    50: '#7f97d6',
    500: '#386ec3',
    950: '#000000',
  },
}
SCSS
$custom: #386ec3;
$custom-light: #7f97d6;
$custom-dark: #000000;
JSON
{
  "hex": "#386ec3",
  "rgb": {
    "r": 56,
    "g": 110,
    "b": 195
  },
  "hsl": {
    "h": 216.691,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5454,
    "c": 0.14469,
    "h": 259.2
  },
  "luminance": 0.15933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #386EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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