#386CC7#386CC7

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

Color values

HEX#386CC7
RGBrgb(56, 108, 199)
HSLhsl(218, 56%, 50%)
HSVhsv(218, 72%, 78%)
CMYKcmyk(71.9%, 45.7%, 0%, 22%)
CIE-LABlab(46.56, 13.69, -52.51)
CIE-LCHlch(46.56, 54.26, 284.61°)
OKLaboklab(54.37% -0.0246 -0.1504)
OKLCHoklch(54.37% 0.152 260.7)
XYZxyz(17.2985, 15.6875, 56.1381)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386CC7 #C79338
analogous
#38B3C7 #386CC7 #4C38C7
triadic
#386CC7 #C7386C #6CC738
tetradic
#386CC7 #C738B3 #C79338 #38C74C
square
#386CC7 #C738B3 #C79338 #38C74C
split-complementary
#386CC7 #C74C38 #B3C738
monochromatic
#1D3867 #2B5297 #386CC7 #688FD4 #98B3E2

Accessibility & contrast

On white

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

On black

4.14
#386CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##386CC7#FFFFFF#000000##FFFFFF
##386CC71.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D75CA
Deuteranopia (green-blind)
#1F68C5
Tritanopia (blue-blind)
#008190
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #386cc7;
/* rgb */ color: rgb(56, 108, 199);
/* oklch */ color: oklch(54.4% 0.152 260.7);
Tailwind
colors: {
  custom: {
    50: '#8095d8',
    500: '#386cc7',
    950: '#000000',
  },
}
SCSS
$custom: #386cc7;
$custom-light: #8095d8;
$custom-dark: #000000;
JSON
{
  "hex": "#386cc7",
  "rgb": {
    "r": 56,
    "g": 108,
    "b": 199
  },
  "hsl": {
    "h": 218.182,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.5437,
    "c": 0.15243,
    "h": 260.7
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#386CC7
secondary
#CDB68D
accent
#A848DF
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #386CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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