#386BF2#386BF2

#386BF2 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 57.3% C 0.210 H 264.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#386BF2
RGBrgb(56, 107, 242)
HSLhsl(224, 88%, 58%)
HSVhsv(224, 77%, 95%)
CMYKcmyk(76.9%, 55.8%, 0%, 5.1%)
CIE-LABlab(49.21, 30.10, -72.59)
CIE-LCHlch(49.21, 78.59, 292.52°)
OKLaboklab(57.31% -0.0192 -0.2095)
OKLCHoklch(57.31% 0.21 264.8)
XYZxyz(22.9099, 17.7643, 86.2086)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386BF2 #F2BF38
analogous
#38C8F2 #386BF2 #6238F2
triadic
#386BF2 #F2386B #6BF238
tetradic
#386BF2 #F238C8 #F2BF38 #38F262
square
#386BF2 #F238C8 #F2BF38 #38F262
split-complementary
#386BF2 #F26238 #C8F238
monochromatic
#0B35A5 #0F47DE #386BF2 #7196F6 #ABC0FA

Accessibility & contrast

On white

4.61
#386BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#386BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #386BF2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386BF2#FFFFFF#000000##FFFFFF
##386BF21.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #386bf2;
/* rgb */ color: rgb(56, 107, 242);
/* oklch */ color: oklch(57.3% 0.210 264.8);
Tailwind
colors: {
  custom: {
    50: '#8994f7',
    500: '#386bf2',
    950: '#000000',
  },
}
SCSS
$custom: #386bf2;
$custom-light: #8994f7;
$custom-dark: #000000;
JSON
{
  "hex": "#386bf2",
  "rgb": {
    "r": 56,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 223.548,
    "s": 87.736,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5731,
    "c": 0.21042,
    "h": 264.8
  },
  "luminance": 0.17767
}

Semantic roles & 50–950 ramp

primary
#386BF2
secondary
#E8D49E
accent
#C42AFE
background
#F9F9FF
surface
#F2F1FF
border
#CCCBD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #386BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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