#3866C7#3866C7

#3866C7 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.1% C 0.160 H 263.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#3866C7
RGBrgb(56, 102, 199)
HSLhsl(221, 56%, 50%)
HSVhsv(221, 72%, 78%)
CMYKcmyk(71.9%, 48.7%, 0%, 22%)
CIE-LABlab(44.89, 17.51, -55.19)
CIE-LCHlch(44.89, 57.90, 287.60°)
OKLaboklab(53.09% -0.0194 -0.1584)
OKLCHoklch(53.09% 0.16 263)
XYZxyz(16.6874, 14.4652, 55.9344)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3866C7 #C79938
analogous
#38AEC7 #3866C7 #5138C7
triadic
#3866C7 #C73866 #66C738
tetradic
#3866C7 #C738AE #C79938 #38C751
square
#3866C7 #C738AE #C79938 #38C751
split-complementary
#3866C7 #C75138 #AEC738
monochromatic
#1D3567 #2B4E97 #3866C7 #688BD4 #98AFE2

Accessibility & contrast

On white

5.39
#3866C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#3866C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3866C7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3866C7#FFFFFF#000000##FFFFFF
##3866C71.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F71CB
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3866c7;
/* rgb */ color: rgb(56, 102, 199);
/* oklch */ color: oklch(53.1% 0.160 263.0);
Tailwind
colors: {
  custom: {
    50: '#8091d9',
    500: '#3866c7',
    950: '#000000',
  },
}
SCSS
$custom: #3866c7;
$custom-light: #8091d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3866c7",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 199
  },
  "hsl": {
    "h": 220.699,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.5309,
    "c": 0.15961,
    "h": 263
  },
  "luminance": 0.14467
}

Semantic roles & 50–950 ramp

primary
#3866C7
secondary
#CDB98D
accent
#AF48DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3866C7

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

Preview Lab → · Contrast checker → · Palette generator →

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