#3864BF#3864BF

#3864BF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.1% C 0.151 H 262.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#3864BF
RGBrgb(56, 100, 191)
HSLhsl(220, 55%, 48%)
HSVhsv(220, 71%, 75%)
CMYKcmyk(70.7%, 47.6%, 0%, 25.1%)
CIE-LABlab(43.82, 15.84, -52.29)
CIE-LCHlch(43.82, 54.64, 286.85°)
OKLaboklab(52.1% -0.0188 -0.1499)
OKLCHoklch(52.1% 0.151 262.9)
XYZxyz(15.5887, 13.7151, 51.1058)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864BF #BF9338
analogous
#38A7BF #3864BF #4F38BF
triadic
#3864BF #BF3864 #64BF38
tetradic
#3864BF #BF38A7 #BF9338 #38BF4F
square
#3864BF #BF38A7 #BF9338 #38BF4F
split-complementary
#3864BF #BF4F38 #A7BF38
monochromatic
#1C3260 #2A4B90 #3864BF #6387D1 #92ABDF

Accessibility & contrast

On white

5.61
#3864BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3864BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864BF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864BF#FFFFFF#000000##FFFFFF
##3864BF1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC2
Deuteranopia (green-blind)
#1162BD
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3864bf;
/* rgb */ color: rgb(56, 100, 191);
/* oklch */ color: oklch(52.1% 0.151 262.9);
Tailwind
colors: {
  custom: {
    50: '#7f8fd3',
    500: '#3864bf',
    950: '#000000',
  },
}
SCSS
$custom: #3864bf;
$custom-light: #7f8fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3864bf",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 220.444,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.1511,
    "h": 262.9
  },
  "luminance": 0.13717
}

Semantic roles & 50–950 ramp

primary
#3864BF
secondary
#CAB589
accent
#AE4ADE
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3864BF

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

Preview Lab → · Contrast checker → · Palette generator →

#3864BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva