#386EC5#386EC5

#386EC5 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.7% C 0.147 H 259.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#386EC5
RGBrgb(56, 110, 197)
HSLhsl(217, 56%, 50%)
HSVhsv(217, 72%, 77%)
CMYKcmyk(71.6%, 44.2%, 0%, 22.7%)
CIE-LABlab(47.00, 11.69, -50.65)
CIE-LCHlch(47.00, 51.98, 283.00°)
OKLaboklab(54.67% -0.0268 -0.1449)
OKLCHoklch(54.67% 0.147 259.5)
XYZxyz(17.2812, 16.0220, 54.9943)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386EC5 #C58F38
analogous
#38B5C5 #386EC5 #4838C5
triadic
#386EC5 #C5386E #6EC538
tetradic
#386EC5 #C538B5 #C58F38 #38C548
square
#386EC5 #C538B5 #C58F38 #38C548
split-complementary
#386EC5 #C54838 #B5C538
monochromatic
#1D3966 #2A5395 #386EC5 #6790D4 #96B3E1

Accessibility & contrast

On white

4.99
#386EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #386EC5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386EC5#FFFFFF#000000##FFFFFF
##386EC51.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4376C8
Deuteranopia (green-blind)
#2869C3
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #386ec5;
/* rgb */ color: rgb(56, 110, 197);
/* oklch */ color: oklch(54.7% 0.147 259.5);
Tailwind
colors: {
  custom: {
    50: '#8097d7',
    500: '#386ec5',
    950: '#000000',
  },
}
SCSS
$custom: #386ec5;
$custom-light: #8097d7;
$custom-dark: #000000;
JSON
{
  "hex": "#386ec5",
  "rgb": {
    "r": 56,
    "g": 110,
    "b": 197
  },
  "hsl": {
    "h": 217.021,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54671,
    "c": 0.14739,
    "h": 259.5
  },
  "luminance": 0.16024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #386EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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