#3864BD#3864BD

#3864BD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.0% C 0.148 H 262.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#3864BD
RGBrgb(56, 100, 189)
HSLhsl(220, 54%, 48%)
HSVhsv(220, 70%, 74%)
CMYKcmyk(70.4%, 47.1%, 0%, 25.9%)
CIE-LABlab(43.69, 15.10, -51.33)
CIE-LCHlch(43.69, 53.51, 286.40°)
OKLaboklab(51.97% -0.0191 -0.1471)
OKLCHoklch(51.97% 0.148 262.6)
XYZxyz(15.3701, 13.6276, 49.9546)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864BD #BD9138
analogous
#38A7BD #3864BD #4E38BD
triadic
#3864BD #BD3864 #64BD38
tetradic
#3864BD #BD38A7 #BD9138 #38BD4E
square
#3864BD #BD38A7 #BD9138 #38BD4E
split-complementary
#3864BD #BD4E38 #A7BD38
monochromatic
#1C325F #2A4B8E #3864BD #6286D0 #91ABDE

Accessibility & contrast

On white

5.64
#3864BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#3864BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864BD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864BD#FFFFFF#000000##FFFFFF
##3864BD1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#1662BB
Tritanopia (blue-blind)
#007987
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3864bd;
/* rgb */ color: rgb(56, 100, 189);
/* oklch */ color: oklch(52.0% 0.148 262.6);
Tailwind
colors: {
  custom: {
    50: '#7e8fd1',
    500: '#3864bd',
    950: '#000000',
  },
}
SCSS
$custom: #3864bd;
$custom-light: #7e8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3864bd",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 220.15,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51966,
    "c": 0.14834,
    "h": 262.6
  },
  "luminance": 0.13629
}

Semantic roles & 50–950 ramp

primary
#3864BD
secondary
#C9B487
accent
#AD4ADE
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3864BD

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

Preview Lab → · Contrast checker → · Palette generator →

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