#386BCB#386BCB

#386BCB is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.4% C 0.159 H 261.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#386BCB
RGBrgb(56, 107, 203)
HSLhsl(219, 59%, 51%)
HSVhsv(219, 72%, 80%)
CMYKcmyk(72.4%, 47.3%, 0%, 20.4%)
CIE-LABlab(46.53, 15.80, -54.85)
CIE-LCHlch(46.53, 57.08, 286.07°)
OKLaboklab(54.43% -0.0231 -0.1573)
OKLCHoklch(54.43% 0.159 261.6)
XYZxyz(17.6642, 15.6660, 58.5812)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386BCB #CB9838
analogous
#38B4CB #386BCB #4E38CB
triadic
#386BCB #CB386B #6BCB38
tetradic
#386BCB #CB38B4 #CB9838 #38CB4E
square
#386BCB #CB38B4 #CB9838 #38CB4E
split-complementary
#386BCB #CB4E38 #B4CB38
monochromatic
#1C386C #29519D #386BCB #698FD8 #99B3E4

Accessibility & contrast

On white

5.08
#386BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#386BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386BCB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386BCB#FFFFFF#000000##FFFFFF
##386BCB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3775CF
Deuteranopia (green-blind)
#0F68C9
Tritanopia (blue-blind)
#008291
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #386bcb;
/* rgb */ color: rgb(56, 107, 203);
/* oklch */ color: oklch(54.4% 0.159 261.6);
Tailwind
colors: {
  custom: {
    50: '#8194db',
    500: '#386bcb',
    950: '#000000',
  },
}
SCSS
$custom: #386bcb;
$custom-light: #8194db;
$custom-dark: #000000;
JSON
{
  "hex": "#386bcb",
  "rgb": {
    "r": 56,
    "g": 107,
    "b": 203
  },
  "hsl": {
    "h": 219.184,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54429,
    "c": 0.15903,
    "h": 261.6
  },
  "luminance": 0.15668
}

Semantic roles & 50–950 ramp

primary
#386BCB
secondary
#D0B98F
accent
#AC46E2
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #386BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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