#3866B7#3866B7

#3866B7 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.0% C 0.138 H 260.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#3866B7
RGBrgb(56, 102, 183)
HSLhsl(218, 53%, 47%)
HSVhsv(218, 69%, 72%)
CMYKcmyk(69.4%, 44.3%, 0%, 28.2%)
CIE-LABlab(43.89, 11.62, -47.53)
CIE-LCHlch(43.89, 48.93, 283.74°)
OKLaboklab(52% -0.022 -0.1359)
OKLCHoklch(52% 0.138 260.8)
XYZxyz(14.9264, 13.7609, 46.6600)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3866B7 #B78938
analogous
#38A6B7 #3866B7 #4A38B7
triadic
#3866B7 #B73866 #66B738
tetradic
#3866B7 #B738A6 #B78938 #38B74A
square
#3866B7 #B738A6 #B78938 #38B74A
split-complementary
#3866B7 #B74A38 #A6B738
monochromatic
#1B3259 #2A4C88 #3866B7 #5E87CE #8DAADC

Accessibility & contrast

On white

5.60
#3866B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3866B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3866B7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3866B7#FFFFFF#000000##FFFFFF
##3866B71.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6EBA
Deuteranopia (green-blind)
#2862B5
Tritanopia (blue-blind)
#007985
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3866b7;
/* rgb */ color: rgb(56, 102, 183);
/* oklch */ color: oklch(52.0% 0.138 260.8);
Tailwind
colors: {
  custom: {
    50: '#7d91cd',
    500: '#3866b7',
    950: '#000000',
  },
}
SCSS
$custom: #3866b7;
$custom-light: #7d91cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3866b7",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 183
  },
  "hsl": {
    "h": 218.268,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51995,
    "c": 0.13766,
    "h": 260.8
  },
  "luminance": 0.13762
}

Semantic roles & 50–950 ramp

primary
#3866B7
secondary
#C7AF84
accent
#A84BDD
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3866B7

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

Preview Lab → · Contrast checker → · Palette generator →

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