#386CCC#386CCC

#386CCC is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.7% C 0.159 H 261.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#386CCC
RGBrgb(56, 108, 204)
HSLhsl(219, 59%, 51%)
HSVhsv(219, 73%, 80%)
CMYKcmyk(72.5%, 47.1%, 0%, 20%)
CIE-LABlab(46.87, 15.53, -54.87)
CIE-LCHlch(46.87, 57.03, 285.80°)
OKLaboklab(54.71% -0.0238 -0.1574)
OKLCHoklch(54.71% 0.159 261.4)
XYZxyz(17.8886, 15.9236, 59.2458)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386CCC #CC9838
analogous
#38B6CC #386CCC #4E38CC
triadic
#386CCC #CC386C #6CCC38
tetradic
#386CCC #CC38B6 #CC9838 #38CC4E
square
#386CCC #CC38B6 #CC9838 #38CC4E
split-complementary
#386CCC #CC4E38 #B6CC38
monochromatic
#1C396E #29529E #386CCC #6990D8 #99B4E5

Accessibility & contrast

On white

5.02
#386CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#386CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386CCC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386CCC#FFFFFF#000000##FFFFFF
##386CCC1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3876D0
Deuteranopia (green-blind)
#1269CA
Tritanopia (blue-blind)
#008392
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #386ccc;
/* rgb */ color: rgb(56, 108, 204);
/* oklch */ color: oklch(54.7% 0.159 261.4);
Tailwind
colors: {
  custom: {
    50: '#8195dc',
    500: '#386ccc',
    950: '#000000',
  },
}
SCSS
$custom: #386ccc;
$custom-light: #8195dc;
$custom-dark: #000000;
JSON
{
  "hex": "#386ccc",
  "rgb": {
    "r": 56,
    "g": 108,
    "b": 204
  },
  "hsl": {
    "h": 218.919,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54711,
    "c": 0.15919,
    "h": 261.4
  },
  "luminance": 0.15926
}

Semantic roles & 50–950 ramp

primary
#386CCC
secondary
#D1BA8F
accent
#AB45E2
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #386CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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