#386FC7#386FC7

#386FC7 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.0% C 0.149 H 259.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#386FC7
RGBrgb(56, 111, 199)
HSLhsl(217, 56%, 50%)
HSVhsv(217, 72%, 78%)
CMYKcmyk(71.9%, 44.2%, 0%, 22%)
CIE-LABlab(47.41, 11.80, -51.15)
CIE-LCHlch(47.41, 52.50, 282.99°)
OKLaboklab(55.02% -0.0273 -0.1464)
OKLCHoklch(55.02% 0.149 259.4)
XYZxyz(17.6204, 16.3313, 56.2454)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386FC7 #C79038
analogous
#38B6C7 #386FC7 #4938C7
triadic
#386FC7 #C7386F #6FC738
tetradic
#386FC7 #C738B6 #C79038 #38C749
square
#386FC7 #C738B6 #C79038 #38C749
split-complementary
#386FC7 #C74938 #B6C738
monochromatic
#1D3A67 #2B5497 #386FC7 #6892D4 #98B4E2

Accessibility & contrast

On white

4.92
#386FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#386FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386FC7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386FC7#FFFFFF#000000##FFFFFF
##386FC71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4378CA
Deuteranopia (green-blind)
#286AC5
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #386fc7;
/* rgb */ color: rgb(56, 111, 199);
/* oklch */ color: oklch(55.0% 0.149 259.4);
Tailwind
colors: {
  custom: {
    50: '#8097d8',
    500: '#386fc7',
    950: '#000000',
  },
}
SCSS
$custom: #386fc7;
$custom-light: #8097d8;
$custom-dark: #000000;
JSON
{
  "hex": "#386fc7",
  "rgb": {
    "r": 56,
    "g": 111,
    "b": 199
  },
  "hsl": {
    "h": 216.923,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.55021,
    "c": 0.14892,
    "h": 259.4
  },
  "luminance": 0.16333
}

Semantic roles & 50–950 ramp

primary
#386FC7
secondary
#CDB58D
accent
#A548DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #386FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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