#386DC5#386DC5

#386DC5 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.5% C 0.149 H 260.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#386DC5
RGBrgb(56, 109, 197)
HSLhsl(217, 56%, 50%)
HSVhsv(217, 72%, 77%)
CMYKcmyk(71.6%, 44.7%, 0%, 22.7%)
CIE-LABlab(46.72, 12.32, -51.10)
CIE-LCHlch(46.72, 52.57, 283.56°)
OKLaboklab(54.45% -0.0259 -0.1463)
OKLCHoklch(54.45% 0.149 260)
XYZxyz(17.1739, 15.8074, 54.9585)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386DC5 #C59038
analogous
#38B3C5 #386DC5 #4A38C5
triadic
#386DC5 #C5386D #6DC538
tetradic
#386DC5 #C538B3 #C59038 #38C54A
square
#386DC5 #C538B3 #C59038 #38C54A
split-complementary
#386DC5 #C54A38 #B3C538
monochromatic
#1D3866 #2A5395 #386DC5 #6790D4 #96B2E1

Accessibility & contrast

On white

5.05
#386DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#386DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386DC5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386DC5#FFFFFF#000000##FFFFFF
##386DC51.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4176C8
Deuteranopia (green-blind)
#2569C3
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #386dc5;
/* rgb */ color: rgb(56, 109, 197);
/* oklch */ color: oklch(54.5% 0.149 260.0);
Tailwind
colors: {
  custom: {
    50: '#8096d7',
    500: '#386dc5',
    950: '#000000',
  },
}
SCSS
$custom: #386dc5;
$custom-light: #8096d7;
$custom-dark: #000000;
JSON
{
  "hex": "#386dc5",
  "rgb": {
    "r": 56,
    "g": 109,
    "b": 197
  },
  "hsl": {
    "h": 217.447,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54453,
    "c": 0.14855,
    "h": 260
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#386DC5
secondary
#CDB48C
accent
#A749DF
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #386DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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