#3864AB#3864AB

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

Color values

HEX#3864AB
RGBrgb(56, 100, 171)
HSLhsl(217, 51%, 45%)
HSVhsv(217, 67%, 67%)
CMYKcmyk(67.3%, 41.5%, 0%, 32.9%)
CIE-LABlab(42.60, 8.51, -42.55)
CIE-LCHlch(42.60, 43.39, 281.31°)
OKLaboklab(50.77% -0.0224 -0.1213)
OKLCHoklch(50.77% 0.123 259.5)
XYZxyz(13.5361, 12.8940, 40.2956)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864AB #AB7F38
analogous
#389EAB #3864AB #4538AB
triadic
#3864AB #AB3864 #64AB38
tetradic
#3864AB #AB389E #AB7F38 #38AB45
square
#3864AB #AB389E #AB7F38 #38AB45
split-complementary
#3864AB #AB4538 #9EAB38
monochromatic
#1A2E4F #29497D #3864AB #5883C8 #86A5D7

Accessibility & contrast

On white

5.87
#3864AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3864AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864AB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864AB#FFFFFF#000000##FFFFFF
##3864AB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436AAE
Deuteranopia (green-blind)
#3260AA
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3864ab;
/* rgb */ color: rgb(56, 100, 171);
/* oklch */ color: oklch(50.8% 0.123 259.5);
Tailwind
colors: {
  custom: {
    50: '#7b8fc4',
    500: '#3864ab',
    950: '#000000',
  },
}
SCSS
$custom: #3864ab;
$custom-light: #7b8fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3864ab",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 171
  },
  "hsl": {
    "h": 217.043,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50773,
    "c": 0.12336,
    "h": 259.5
  },
  "luminance": 0.12895
}

Semantic roles & 50–950 ramp

primary
#3864AB
secondary
#C1A77D
accent
#A44EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3864AB

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

Preview Lab → · Contrast checker → · Palette generator →

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