#3864C4#3864C4

#3864C4 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.5% C 0.158 H 263.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#3864C4
RGBrgb(56, 100, 196)
HSLhsl(221, 56%, 49%)
HSVhsv(221, 71%, 77%)
CMYKcmyk(71.4%, 49%, 0%, 23.1%)
CIE-LABlab(44.15, 17.68, -54.66)
CIE-LCHlch(44.15, 57.45, 287.92°)
OKLaboklab(52.46% -0.0181 -0.1569)
OKLCHoklch(52.46% 0.158 263.4)
XYZxyz(16.1483, 13.9389, 54.0533)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864C4 #C49838
analogous
#38AAC4 #3864C4 #5238C4
triadic
#3864C4 #C43864 #64C438
tetradic
#3864C4 #C438AA #C49838 #38C452
square
#3864C4 #C438AA #C49838 #38C452
split-complementary
#3864C4 #C45238 #AAC438
monochromatic
#1D3365 #2A4C94 #3864C4 #6688D3 #96ADE1

Accessibility & contrast

On white

5.54
#3864C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#3864C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864C4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864C4#FFFFFF#000000##FFFFFF
##3864C41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6FC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007B8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3864c4;
/* rgb */ color: rgb(56, 100, 196);
/* oklch */ color: oklch(52.5% 0.158 263.4);
Tailwind
colors: {
  custom: {
    50: '#808fd6',
    500: '#3864c4',
    950: '#000000',
  },
}
SCSS
$custom: #3864c4;
$custom-light: #808fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3864c4",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 196
  },
  "hsl": {
    "h": 221.143,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.15795,
    "h": 263.4
  },
  "luminance": 0.13941
}

Semantic roles & 50–950 ramp

primary
#3864C4
secondary
#CCB88C
accent
#B049DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3864C4

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

Preview Lab → · Contrast checker → · Palette generator →

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