#3864C1#3864C1

#3864C1 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.2% C 0.154 H 263.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#3864C1
RGBrgb(56, 100, 193)
HSLhsl(221, 55%, 49%)
HSVhsv(221, 71%, 76%)
CMYKcmyk(71%, 48.2%, 0%, 24.3%)
CIE-LABlab(43.95, 16.58, -53.24)
CIE-LCHlch(43.95, 55.76, 287.29°)
OKLaboklab(52.24% -0.0185 -0.1527)
OKLCHoklch(52.24% 0.154 263.1)
XYZxyz(15.8103, 13.8037, 52.2729)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864C1 #C19538
analogous
#38A9C1 #3864C1 #5138C1
triadic
#3864C1 #C13864 #64C138
tetradic
#3864C1 #C138A9 #C19538 #38C151
square
#3864C1 #C138A9 #C19538 #38C151
split-complementary
#3864C1 #C15138 #A9C138
monochromatic
#1C3362 #2A4B92 #3864C1 #6487D2 #94ACE0

Accessibility & contrast

On white

5.58
#3864C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#3864C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864C1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864C1#FFFFFF#000000##FFFFFF
##3864C11.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316FC4
Deuteranopia (green-blind)
#0962BF
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3864c1;
/* rgb */ color: rgb(56, 100, 193);
/* oklch */ color: oklch(52.2% 0.154 263.1);
Tailwind
colors: {
  custom: {
    50: '#7f8fd4',
    500: '#3864c1',
    950: '#000000',
  },
}
SCSS
$custom: #3864c1;
$custom-light: #7f8fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3864c1",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 193
  },
  "hsl": {
    "h": 220.73,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52244,
    "c": 0.15385,
    "h": 263.1
  },
  "luminance": 0.13805
}

Semantic roles & 50–950 ramp

primary
#3864C1
secondary
#CBB68A
accent
#AF49DE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3864C1

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

Preview Lab → · Contrast checker → · Palette generator →

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