#3864C2#3864C2

#3864C2 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.3% C 0.155 H 263.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#3864C2
RGBrgb(56, 100, 194)
HSLhsl(221, 55%, 49%)
HSVhsv(221, 71%, 76%)
CMYKcmyk(71.1%, 48.5%, 0%, 23.9%)
CIE-LABlab(44.01, 16.94, -53.72)
CIE-LCHlch(44.01, 56.33, 287.51°)
OKLaboklab(52.31% -0.0184 -0.1541)
OKLCHoklch(52.31% 0.155 263.2)
XYZxyz(15.9222, 13.8485, 52.8624)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864C2 #C29638
analogous
#38A9C2 #3864C2 #5138C2
triadic
#3864C2 #C23864 #64C238
tetradic
#3864C2 #C238A9 #C29638 #38C251
square
#3864C2 #C238A9 #C29638 #38C251
split-complementary
#3864C2 #C25138 #A9C238
monochromatic
#1D3363 #2A4C93 #3864C2 #6588D2 #94ACE0

Accessibility & contrast

On white

5.57
#3864C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#3864C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864C2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864C2#FFFFFF#000000##FFFFFF
##3864C21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306FC5
Deuteranopia (green-blind)
#0462C0
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3864c2;
/* rgb */ color: rgb(56, 100, 194);
/* oklch */ color: oklch(52.3% 0.155 263.2);
Tailwind
colors: {
  custom: {
    50: '#7f8fd5',
    500: '#3864c2',
    950: '#000000',
  },
}
SCSS
$custom: #3864c2;
$custom-light: #7f8fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3864c2",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 194
  },
  "hsl": {
    "h": 220.87,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52314,
    "c": 0.15522,
    "h": 263.2
  },
  "luminance": 0.1385
}

Semantic roles & 50–950 ramp

primary
#3864C2
secondary
#CBB78A
accent
#AF49DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3864C2

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

Preview Lab → · Contrast checker → · Palette generator →

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