#3864BB#3864BB

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

Color values

HEX#3864BB
RGBrgb(56, 100, 187)
HSLhsl(220, 54%, 48%)
HSVhsv(220, 70%, 73%)
CMYKcmyk(70.1%, 46.5%, 0%, 26.7%)
CIE-LABlab(43.57, 14.37, -50.37)
CIE-LCHlch(43.57, 52.38, 285.92°)
OKLaboklab(51.83% -0.0194 -0.1443)
OKLCHoklch(51.83% 0.146 262.3)
XYZxyz(15.1545, 13.5414, 48.8192)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3864BB #BB8F38
analogous
#38A6BB #3864BB #4D38BB
triadic
#3864BB #BB3864 #64BB38
tetradic
#3864BB #BB38A6 #BB8F38 #38BB4D
square
#3864BB #BB38A6 #BB8F38 #38BB4D
split-complementary
#3864BB #BB4D38 #A6BB38
monochromatic
#1C325D #2A4B8C #3864BB #6186D0 #90AADE

Accessibility & contrast

On white

5.66
#3864BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3864BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3864BB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3864BB#FFFFFF#000000##FFFFFF
##3864BB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBE
Deuteranopia (green-blind)
#1B61B9
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3864bb;
/* rgb */ color: rgb(56, 100, 187);
/* oklch */ color: oklch(51.8% 0.146 262.3);
Tailwind
colors: {
  custom: {
    50: '#7e8fd0',
    500: '#3864bb',
    950: '#000000',
  },
}
SCSS
$custom: #3864bb;
$custom-light: #7e8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3864bb",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 219.847,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51829,
    "c": 0.14559,
    "h": 262.3
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3864BB

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

Preview Lab → · Contrast checker → · Palette generator →

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