#386CD9#386CD9

#386CD9 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.6% C 0.177 H 262.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#386CD9
RGBrgb(56, 108, 217)
HSLhsl(221, 68%, 54%)
HSVhsv(221, 74%, 85%)
CMYKcmyk(74.2%, 50.2%, 0%, 14.9%)
CIE-LABlab(47.72, 20.32, -60.93)
CIE-LCHlch(47.72, 64.23, 288.44°)
OKLaboklab(55.63% -0.022 -0.1752)
OKLCHoklch(55.63% 0.177 262.8)
XYZxyz(19.5134, 16.5735, 67.8028)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386CD9 #D9A538
analogous
#38BCD9 #386CD9 #5438D9
triadic
#386CD9 #D9386C #6CD938
tetradic
#386CD9 #D938BC #D9A538 #38D954
square
#386CD9 #D938BC #D9A538 #38D954
split-complementary
#386CD9 #D95438 #BCD938
monochromatic
#18397E #2250B2 #386CD9 #6B92E3 #9FB8ED

Accessibility & contrast

On white

4.87
#386CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#386CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386CD9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386CD9#FFFFFF#000000##FFFFFF
##386CD91.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2979DD
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#008698
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #386cd9;
/* rgb */ color: rgb(56, 108, 217);
/* oklch */ color: oklch(55.6% 0.177 262.8);
Tailwind
colors: {
  custom: {
    50: '#8495e5',
    500: '#386cd9',
    950: '#000000',
  },
}
SCSS
$custom: #386cd9;
$custom-light: #8495e5;
$custom-dark: #000000;
JSON
{
  "hex": "#386cd9",
  "rgb": {
    "r": 56,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 220.621,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55626,
    "c": 0.1766,
    "h": 262.8
  },
  "luminance": 0.16576
}

Semantic roles & 50–950 ramp

primary
#386CD9
secondary
#D9C394
accent
#B33DEB
background
#F8F9FE
surface
#F0F1FC
border
#CBCBD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #386CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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