#386BC2#386BC2

#386BC2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.8% C 0.147 H 260.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#386BC2
RGBrgb(56, 107, 194)
HSLhsl(218, 55%, 49%)
HSVhsv(218, 71%, 76%)
CMYKcmyk(71.1%, 44.8%, 0%, 23.9%)
CIE-LABlab(45.97, 12.48, -50.57)
CIE-LCHlch(45.97, 52.09, 283.87°)
OKLaboklab(53.82% -0.0246 -0.1447)
OKLCHoklch(53.82% 0.147 260.4)
XYZxyz(16.6227, 15.2494, 53.0959)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386BC2 #C28F38
analogous
#38B0C2 #386BC2 #4A38C2
triadic
#386BC2 #C2386B #6BC238
tetradic
#386BC2 #C238B0 #C28F38 #38C24A
square
#386BC2 #C238B0 #C28F38 #38C24A
split-complementary
#386BC2 #C24A38 #B0C238
monochromatic
#1D3763 #2A5193 #386BC2 #658DD2 #94B0E0

Accessibility & contrast

On white

5.18
#386BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#386BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386BC2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386BC2#FFFFFF#000000##FFFFFF
##386BC21.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C5
Deuteranopia (green-blind)
#2567C0
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #386bc2;
/* rgb */ color: rgb(56, 107, 194);
/* oklch */ color: oklch(53.8% 0.147 260.4);
Tailwind
colors: {
  custom: {
    50: '#7f94d5',
    500: '#386bc2',
    950: '#000000',
  },
}
SCSS
$custom: #386bc2;
$custom-light: #7f94d5;
$custom-dark: #000000;
JSON
{
  "hex": "#386bc2",
  "rgb": {
    "r": 56,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 217.826,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53819,
    "c": 0.14683,
    "h": 260.4
  },
  "luminance": 0.15251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #386BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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