#3864B2#3864B2

#3864B2 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.2% C 0.133 H 260.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#3864B2
RGBrgb(56, 100, 178)
HSLhsl(218, 52%, 46%)
HSVhsv(218, 69%, 70%)
CMYKcmyk(68.5%, 43.8%, 0%, 30.2%)
CIE-LABlab(43.02, 11.06, -46.00)
CIE-LCHlch(43.02, 47.32, 283.52°)
OKLaboklab(51.23% -0.021 -0.1314)
OKLCHoklch(51.23% 0.133 260.9)
XYZxyz(14.2211, 13.1680, 43.9031)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864B2 #B28638
analogous
#38A1B2 #3864B2 #4938B2
triadic
#3864B2 #B23864 #64B238
tetradic
#3864B2 #B238A1 #B28638 #38B249
square
#3864B2 #B238A1 #B28638 #38B249
split-complementary
#3864B2 #B24938 #A1B238
monochromatic
#1B3055 #294A83 #3864B2 #5C84CC #8AA7DA

Accessibility & contrast

On white

5.78
#3864B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3864B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864B2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864B2#FFFFFF#000000##FFFFFF
##3864B21.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#2A60B0
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3864b2;
/* rgb */ color: rgb(56, 100, 178);
/* oklch */ color: oklch(51.2% 0.133 260.9);
Tailwind
colors: {
  custom: {
    50: '#7c8fc9',
    500: '#3864b2',
    950: '#000000',
  },
}
SCSS
$custom: #3864b2;
$custom-light: #7c8fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3864b2",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 218.361,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51225,
    "c": 0.13312,
    "h": 260.9
  },
  "luminance": 0.13169
}

Semantic roles & 50–950 ramp

primary
#3864B2
secondary
#C5AC81
accent
#A84CDC
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3864B2

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

Preview Lab → · Contrast checker → · Palette generator →

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