#3866BB#3866BB

#3866BB is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.3% C 0.143 H 261.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#3866BB
RGBrgb(56, 102, 187)
HSLhsl(219, 54%, 48%)
HSVhsv(219, 70%, 73%)
CMYKcmyk(70.1%, 45.5%, 0%, 26.7%)
CIE-LABlab(44.13, 13.09, -49.47)
CIE-LCHlch(44.13, 51.17, 284.82°)
OKLaboklab(52.26% -0.0213 -0.1416)
OKLCHoklch(52.26% 0.143 261.5)
XYZxyz(15.3487, 13.9298, 48.8839)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3866BB #BB8D38
analogous
#38A8BB #3866BB #4B38BB
triadic
#3866BB #BB3866 #66BB38
tetradic
#3866BB #BB38A8 #BB8D38 #38BB4B
square
#3866BB #BB38A8 #BB8D38 #38BB4B
split-complementary
#3866BB #BB4B38 #A8BB38
monochromatic
#1C335D #2A4C8C #3866BB #6188D0 #90ABDE

Accessibility & contrast

On white

5.55
#3866BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#3866BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3866BB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3866BB#FFFFFF#000000##FFFFFF
##3866BB1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBE
Deuteranopia (green-blind)
#2163B9
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3866bb;
/* rgb */ color: rgb(56, 102, 187);
/* oklch */ color: oklch(52.3% 0.143 261.5);
Tailwind
colors: {
  custom: {
    50: '#7e91d0',
    500: '#3866bb',
    950: '#000000',
  },
}
SCSS
$custom: #3866bb;
$custom-light: #7e91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3866bb",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 218.931,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52262,
    "c": 0.14319,
    "h": 261.5
  },
  "luminance": 0.13931
}

Semantic roles & 50–950 ramp

primary
#3866BB
secondary
#C8B186
accent
#AA4BDD
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3866BB

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

Preview Lab → · Contrast checker → · Palette generator →

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