#386AC2#386AC2

#386AC2 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.6% C 0.148 H 260.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#386AC2
RGBrgb(56, 106, 194)
HSLhsl(218, 55%, 49%)
HSVhsv(218, 71%, 76%)
CMYKcmyk(71.1%, 45.4%, 0%, 23.9%)
CIE-LABlab(45.69, 13.12, -51.02)
CIE-LCHlch(45.69, 52.68, 284.42°)
OKLaboklab(53.6% -0.0237 -0.1461)
OKLCHoklch(53.6% 0.148 260.8)
XYZxyz(16.5190, 15.0421, 53.0613)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386AC2 #C29038
analogous
#38AFC2 #386AC2 #4B38C2
triadic
#386AC2 #C2386A #6AC238
tetradic
#386AC2 #C238AF #C29038 #38C24B
square
#386AC2 #C238AF #C29038 #38C24B
split-complementary
#386AC2 #C24B38 #AFC238
monochromatic
#1D3663 #2A5093 #386AC2 #658CD2 #94B0E0

Accessibility & contrast

On white

5.24
#386AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#386AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386AC2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386AC2#FFFFFF#000000##FFFFFF
##386AC21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D73C5
Deuteranopia (green-blind)
#2166C0
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #386ac2;
/* rgb */ color: rgb(56, 106, 194);
/* oklch */ color: oklch(53.6% 0.148 260.8);
Tailwind
colors: {
  custom: {
    50: '#7f94d5',
    500: '#386ac2',
    950: '#000000',
  },
}
SCSS
$custom: #386ac2;
$custom-light: #7f94d5;
$custom-dark: #000000;
JSON
{
  "hex": "#386ac2",
  "rgb": {
    "r": 56,
    "g": 106,
    "b": 194
  },
  "hsl": {
    "h": 218.261,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53601,
    "c": 0.14801,
    "h": 260.8
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#386AC2
secondary
#CBB48A
accent
#A849DF
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #386AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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