#3864B7#3864B7

#3864B7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.6% C 0.140 H 261.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3864B7
RGBrgb(56, 100, 183)
HSLhsl(219, 53%, 47%)
HSVhsv(219, 69%, 72%)
CMYKcmyk(69.4%, 45.4%, 0%, 28.2%)
CIE-LABlab(43.32, 12.90, -48.44)
CIE-LCHlch(43.32, 50.13, 284.91°)
OKLaboklab(51.56% -0.0201 -0.1386)
OKLCHoklch(51.56% 0.14 261.8)
XYZxyz(14.7323, 13.3725, 46.5953)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864B7 #B78B38
analogous
#38A3B7 #3864B7 #4C38B7
triadic
#3864B7 #B73864 #64B738
tetradic
#3864B7 #B738A3 #B78B38 #38B74C
square
#3864B7 #B738A3 #B78B38 #38B74C
split-complementary
#3864B7 #B74C38 #A3B738
monochromatic
#1B3159 #2A4A88 #3864B7 #5E85CE #8DA9DC

Accessibility & contrast

On white

5.71
#3864B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3864B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864B7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864B7#FFFFFF#000000##FFFFFF
##3864B71.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBA
Deuteranopia (green-blind)
#2261B5
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3864b7;
/* rgb */ color: rgb(56, 100, 183);
/* oklch */ color: oklch(51.6% 0.140 261.8);
Tailwind
colors: {
  custom: {
    50: '#7d8fcd',
    500: '#3864b7',
    950: '#000000',
  },
}
SCSS
$custom: #3864b7;
$custom-light: #7d8fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3864b7",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 183
  },
  "hsl": {
    "h": 219.213,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51557,
    "c": 0.14006,
    "h": 261.8
  },
  "luminance": 0.13374
}

Semantic roles & 50–950 ramp

primary
#3864B7
secondary
#C7B084
accent
#AA4BDD
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3864B7

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

Preview Lab → · Contrast checker → · Palette generator →

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