#3864BA#3864BA

#3864BA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.8% C 0.144 H 262.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#3864BA
RGBrgb(56, 100, 186)
HSLhsl(220, 54%, 47%)
HSVhsv(220, 70%, 73%)
CMYKcmyk(69.9%, 46.2%, 0%, 27.1%)
CIE-LABlab(43.51, 14.00, -49.89)
CIE-LCHlch(43.51, 51.82, 285.67°)
OKLaboklab(51.76% -0.0196 -0.1429)
OKLCHoklch(51.76% 0.144 262.2)
XYZxyz(15.0478, 13.4987, 48.2573)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864BA #BA8E38
analogous
#38A5BA #3864BA #4D38BA
triadic
#3864BA #BA3864 #64BA38
tetradic
#3864BA #BA38A5 #BA8E38 #38BA4D
square
#3864BA #BA38A5 #BA8E38 #38BA4D
split-complementary
#3864BA #BA4D38 #A5BA38
monochromatic
#1C315C #2A4B8B #3864BA #6086CF #8FAADD

Accessibility & contrast

On white

5.68
#3864BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3864BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864BA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864BA#FFFFFF#000000##FFFFFF
##3864BA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386DBD
Deuteranopia (green-blind)
#1D61B8
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3864ba;
/* rgb */ color: rgb(56, 100, 186);
/* oklch */ color: oklch(51.8% 0.144 262.2);
Tailwind
colors: {
  custom: {
    50: '#7e8fcf',
    500: '#3864ba',
    950: '#000000',
  },
}
SCSS
$custom: #3864ba;
$custom-light: #7e8fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3864ba",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 186
  },
  "hsl": {
    "h": 219.692,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5176,
    "c": 0.1442,
    "h": 262.2
  },
  "luminance": 0.135
}

Semantic roles & 50–950 ramp

primary
#3864BA
secondary
#C8B286
accent
#AC4BDD
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3864BA

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

Preview Lab → · Contrast checker → · Palette generator →

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