#3864AC#3864AC

#3864AC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.8% C 0.125 H 259.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3864AC
RGBrgb(56, 100, 172)
HSLhsl(217, 51%, 45%)
HSVhsv(217, 67%, 67%)
CMYKcmyk(67.4%, 41.9%, 0%, 32.5%)
CIE-LABlab(42.66, 8.87, -43.05)
CIE-LCHlch(42.66, 43.95, 281.65°)
OKLaboklab(50.84% -0.0222 -0.1228)
OKLCHoklch(50.84% 0.125 259.8)
XYZxyz(13.6318, 12.9323, 40.7995)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864AC #AC8038
analogous
#389EAC #3864AC #4638AC
triadic
#3864AC #AC3864 #64AC38
tetradic
#3864AC #AC389E #AC8038 #38AC46
square
#3864AC #AC389E #AC8038 #38AC46
split-complementary
#3864AC #AC4638 #9EAC38
monochromatic
#1A2E50 #29497E #3864AC #5883C9 #87A5D8

Accessibility & contrast

On white

5.85
#3864AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3864AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864AC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864AC#FFFFFF#000000##FFFFFF
##3864AC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436BAF
Deuteranopia (green-blind)
#3160AB
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3864ac;
/* rgb */ color: rgb(56, 100, 172);
/* oklch */ color: oklch(50.8% 0.125 259.8);
Tailwind
colors: {
  custom: {
    50: '#7b8fc5',
    500: '#3864ac',
    950: '#000000',
  },
}
SCSS
$custom: #3864ac;
$custom-light: #7b8fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3864ac",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 172
  },
  "hsl": {
    "h": 217.241,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50837,
    "c": 0.12476,
    "h": 259.8
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#3864AC
secondary
#C2A87E
accent
#A54DDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3864AC

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

Preview Lab → · Contrast checker → · Palette generator →

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