#3864D9#3864D9

#3864D9 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.0% C 0.186 H 265.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#3864D9
RGBrgb(56, 100, 217)
HSLhsl(224, 68%, 54%)
HSVhsv(224, 74%, 85%)
CMYKcmyk(74.2%, 53.9%, 0%, 14.9%)
CIE-LABlab(45.58, 25.40, -64.39)
CIE-LCHlch(45.58, 69.22, 291.53°)
OKLaboklab(54.01% -0.0159 -0.1855)
OKLCHoklch(54.01% 0.186 265.1)
XYZxyz(18.7080, 14.9628, 67.5343)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864D9 #D9AD38
analogous
#38B5D9 #3864D9 #5C38D9
triadic
#3864D9 #D93864 #64D938
tetradic
#3864D9 #D938B5 #D9AD38 #38D95C
square
#3864D9 #D938B5 #D9AD38 #38D95C
split-complementary
#3864D9 #D95C38 #B5D938
monochromatic
#18347E #2249B2 #3864D9 #6B8CE3 #9FB4ED

Accessibility & contrast

On white

5.26
#3864D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#3864D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864D9
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864D9#FFFFFF#000000##FFFFFF
##3864D91.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#008195
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3864d9;
/* rgb */ color: rgb(56, 100, 217);
/* oklch */ color: oklch(54.0% 0.186 265.1);
Tailwind
colors: {
  custom: {
    50: '#848fe6',
    500: '#3864d9',
    950: '#000000',
  },
}
SCSS
$custom: #3864d9;
$custom-light: #848fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#3864d9",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 223.602,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54006,
    "c": 0.1862,
    "h": 265.1
  },
  "luminance": 0.14965
}

Semantic roles & 50–950 ramp

primary
#3864D9
secondary
#D9C694
accent
#BB3DEB
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0D0C16
muted
#7D7D84

Preview Lab

Preview with #3864D9

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

Preview Lab → · Contrast checker → · Palette generator →

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