#3864D7#3864D7

#3864D7 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.9% C 0.184 H 265.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#3864D7
RGBrgb(56, 100, 215)
HSLhsl(223, 67%, 53%)
HSVhsv(223, 74%, 84%)
CMYKcmyk(74%, 53.5%, 0%, 15.7%)
CIE-LABlab(45.44, 24.67, -63.48)
CIE-LCHlch(45.44, 68.10, 291.24°)
OKLaboklab(53.85% -0.0161 -0.1829)
OKLCHoklch(53.85% 0.184 265)
XYZxyz(18.4495, 14.8594, 66.1726)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864D7 #D7AB38
analogous
#38B4D7 #3864D7 #5B38D7
triadic
#3864D7 #D73864 #64D738
tetradic
#3864D7 #D738B4 #D7AB38 #38D75B
square
#3864D7 #D738B4 #D7AB38 #38D75B
split-complementary
#3864D7 #D75B38 #B4D738
monochromatic
#19347C #234AAF #3864D7 #6B8CE1 #9EB3EB

Accessibility & contrast

On white

5.29
#3864D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#3864D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864D7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864D7#FFFFFF#000000##FFFFFF
##3864D71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0373DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3864d7;
/* rgb */ color: rgb(56, 100, 215);
/* oklch */ color: oklch(53.9% 0.184 265.0);
Tailwind
colors: {
  custom: {
    50: '#848fe4',
    500: '#3864d7',
    950: '#000000',
  },
}
SCSS
$custom: #3864d7;
$custom-light: #848fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#3864d7",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 215
  },
  "hsl": {
    "h": 223.396,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53853,
    "c": 0.18355,
    "h": 265
  },
  "luminance": 0.14861
}

Semantic roles & 50–950 ramp

primary
#3864D7
secondary
#D8C593
accent
#BA3EE9
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #3864D7

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

Preview Lab → · Contrast checker → · Palette generator →

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