#386AB2#386AB2

#386AB2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 52.6% C 0.126 H 257.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#386AB2
RGBrgb(56, 106, 178)
HSLhsl(215, 52%, 46%)
HSVhsv(215, 69%, 70%)
CMYKcmyk(68.5%, 40.4%, 0%, 30.2%)
CIE-LABlab(44.75, 7.26, -43.24)
CIE-LCHlch(44.75, 43.85, 279.53°)
OKLaboklab(52.57% -0.0269 -0.1232)
OKLCHoklch(52.57% 0.126 257.7)
XYZxyz(14.8179, 14.3617, 44.1020)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386AB2 #B28038
analogous
#38A7B2 #386AB2 #4338B2
triadic
#386AB2 #B2386A #6AB238
tetradic
#386AB2 #B238A7 #B28038 #38B243
square
#386AB2 #B238A7 #B28038 #38B243
split-complementary
#386AB2 #B24338 #A7B238
monochromatic
#1B3355 #294E83 #386AB2 #5C8ACC #8AABDA

Accessibility & contrast

On white

5.42
#386AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#386AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386AB2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386AB2#FFFFFF#000000##FFFFFF
##386AB21.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#3665B1
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #386ab2;
/* rgb */ color: rgb(56, 106, 178);
/* oklch */ color: oklch(52.6% 0.126 257.7);
Tailwind
colors: {
  custom: {
    50: '#7c94c9',
    500: '#386ab2',
    950: '#000000',
  },
}
SCSS
$custom: #386ab2;
$custom-light: #7c94c9;
$custom-dark: #000000;
JSON
{
  "hex": "#386ab2",
  "rgb": {
    "r": 56,
    "g": 106,
    "b": 178
  },
  "hsl": {
    "h": 215.41,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52565,
    "c": 0.12614,
    "h": 257.7
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#386AB2
secondary
#C5A981
accent
#A14CDC
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #386AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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