#386CD4#386CD4

#386CD4 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.3% C 0.170 H 262.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#386CD4
RGBrgb(56, 108, 212)
HSLhsl(220, 64%, 53%)
HSVhsv(220, 74%, 83%)
CMYKcmyk(73.6%, 49.1%, 0%, 16.9%)
CIE-LABlab(47.39, 18.48, -58.62)
CIE-LCHlch(47.39, 61.46, 287.49°)
OKLaboklab(55.27% -0.0227 -0.1684)
OKLCHoklch(55.27% 0.17 262.3)
XYZxyz(18.8729, 16.3173, 64.4295)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386CD4 #D4A038
analogous
#38BAD4 #386CD4 #5238D4
triadic
#386CD4 #D4386C #6CD438
tetradic
#386CD4 #D438BA #D4A038 #38D452
square
#386CD4 #D438BA #D4A038 #38D452
split-complementary
#386CD4 #D45238 #BAD438
monochromatic
#1A3978 #2551AA #386CD4 #6A91DF #9DB6EA

Accessibility & contrast

On white

4.93
#386CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#386CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386CD4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386CD4#FFFFFF#000000##FFFFFF
##386CD41.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F78D8
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#008596
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #386cd4;
/* rgb */ color: rgb(56, 108, 212);
/* oklch */ color: oklch(55.3% 0.170 262.3);
Tailwind
colors: {
  custom: {
    50: '#8395e2',
    500: '#386cd4',
    950: '#000000',
  },
}
SCSS
$custom: #386cd4;
$custom-light: #8395e2;
$custom-dark: #000000;
JSON
{
  "hex": "#386cd4",
  "rgb": {
    "r": 56,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 220,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55269,
    "c": 0.16994,
    "h": 262.3
  },
  "luminance": 0.16319
}

Semantic roles & 50–950 ramp

primary
#386CD4
secondary
#D6BF92
accent
#B040E7
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #386CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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