#386CC2#386CC2

#386CC2 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.0% C 0.146 H 259.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#386CC2
RGBrgb(56, 108, 194)
HSLhsl(217, 55%, 49%)
HSVhsv(217, 71%, 76%)
CMYKcmyk(71.1%, 44.3%, 0%, 23.9%)
CIE-LABlab(46.26, 11.85, -50.12)
CIE-LCHlch(46.26, 51.50, 283.31°)
OKLaboklab(54.04% -0.0255 -0.1434)
OKLCHoklch(54.04% 0.146 259.9)
XYZxyz(16.7275, 15.4591, 53.1308)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386CC2 #C28E38
analogous
#38B1C2 #386CC2 #4938C2
triadic
#386CC2 #C2386C #6CC238
tetradic
#386CC2 #C238B1 #C28E38 #38C249
square
#386CC2 #C238B1 #C28E38 #38C249
split-complementary
#386CC2 #C24938 #B1C238
monochromatic
#1D3763 #2A5293 #386CC2 #658ED2 #94B1E0

Accessibility & contrast

On white

5.13
#386CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#386CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386CC2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386CC2#FFFFFF#000000##FFFFFF
##386CC21.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4174C5
Deuteranopia (green-blind)
#2768C0
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #386cc2;
/* rgb */ color: rgb(56, 108, 194);
/* oklch */ color: oklch(54.0% 0.146 259.9);
Tailwind
colors: {
  custom: {
    50: '#7f95d5',
    500: '#386cc2',
    950: '#000000',
  },
}
SCSS
$custom: #386cc2;
$custom-light: #7f95d5;
$custom-dark: #000000;
JSON
{
  "hex": "#386cc2",
  "rgb": {
    "r": 56,
    "g": 108,
    "b": 194
  },
  "hsl": {
    "h": 217.391,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.14565,
    "h": 259.9
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

primary
#386CC2
secondary
#CBB38A
accent
#A649DF
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #386CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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