#3866C8#3866C8

#3866C8 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.2% C 0.161 H 263.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#3866C8
RGBrgb(56, 102, 200)
HSLhsl(221, 57%, 50%)
HSVhsv(221, 72%, 78%)
CMYKcmyk(72%, 49%, 0%, 21.6%)
CIE-LABlab(44.96, 17.87, -55.66)
CIE-LCHlch(44.96, 58.46, 287.80°)
OKLaboklab(53.16% -0.0193 -0.1598)
OKLCHoklch(53.16% 0.161 263.1)
XYZxyz(16.8039, 14.5118, 56.5478)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3866C8 #C89A38
analogous
#38AEC8 #3866C8 #5238C8
triadic
#3866C8 #C83866 #66C838
tetradic
#3866C8 #C838AE #C89A38 #38C852
square
#3866C8 #C838AE #C89A38 #38C852
split-complementary
#3866C8 #C85238 #AEC838
monochromatic
#1D3569 #2A4D99 #3866C8 #688BD5 #98B0E3

Accessibility & contrast

On white

5.38
#3866C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#3866C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3866C8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3866C8#FFFFFF#000000##FFFFFF
##3866C81.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3866c8;
/* rgb */ color: rgb(56, 102, 200);
/* oklch */ color: oklch(53.2% 0.161 263.1);
Tailwind
colors: {
  custom: {
    50: '#8191d9',
    500: '#3866c8',
    950: '#000000',
  },
}
SCSS
$custom: #3866c8;
$custom-light: #8191d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3866c8",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 220.833,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53161,
    "c": 0.16098,
    "h": 263.1
  },
  "luminance": 0.14514
}

Semantic roles & 50–950 ramp

primary
#3866C8
secondary
#CEBA8E
accent
#AF48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3866C8

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

Preview Lab → · Contrast checker → · Palette generator →

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