#3864D5#3864D5

#3864D5 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.7% C 0.181 H 264.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#3864D5
RGBrgb(56, 100, 213)
HSLhsl(223, 65%, 53%)
HSVhsv(223, 74%, 84%)
CMYKcmyk(73.7%, 53.1%, 0%, 16.5%)
CIE-LABlab(45.30, 23.94, -62.56)
CIE-LCHlch(45.30, 66.99, 290.94°)
OKLaboklab(53.7% -0.0162 -0.1802)
OKLCHoklch(53.7% 0.181 264.9)
XYZxyz(18.1941, 14.7572, 64.8274)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864D5 #D5A938
analogous
#38B2D5 #3864D5 #5B38D5
triadic
#3864D5 #D53864 #64D538
tetradic
#3864D5 #D538B2 #D5A938 #38D55B
square
#3864D5 #D538B2 #D5A938 #38D55B
split-complementary
#3864D5 #D55B38 #B2D538
monochromatic
#1A3479 #244AAC #3864D5 #6B8BE0 #9DB3EA

Accessibility & contrast

On white

5.31
#3864D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#3864D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864D5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864D5#FFFFFF#000000##FFFFFF
##3864D51.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C73D9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#007F93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3864d5;
/* rgb */ color: rgb(56, 100, 213);
/* oklch */ color: oklch(53.7% 0.181 264.9);
Tailwind
colors: {
  custom: {
    50: '#838fe3',
    500: '#3864d5',
    950: '#000000',
  },
}
SCSS
$custom: #3864d5;
$custom-light: #838fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#3864d5",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 213
  },
  "hsl": {
    "h": 223.185,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53702,
    "c": 0.18089,
    "h": 264.9
  },
  "luminance": 0.14759
}

Semantic roles & 50–950 ramp

primary
#3864D5
secondary
#D6C392
accent
#B940E8
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0C15
muted
#7D7D84

Preview Lab

Preview with #3864D5

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

Preview Lab → · Contrast checker → · Palette generator →

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