#3866C4#3866C4

#3866C4 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.9% C 0.156 H 262.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#3866C4
RGBrgb(56, 102, 196)
HSLhsl(220, 56%, 49%)
HSVhsv(220, 71%, 77%)
CMYKcmyk(71.4%, 48%, 0%, 23.1%)
CIE-LABlab(44.70, 16.40, -53.77)
CIE-LCHlch(44.70, 56.22, 286.96°)
OKLaboklab(52.88% -0.0198 -0.1543)
OKLCHoklch(52.88% 0.156 262.7)
XYZxyz(16.3425, 14.3273, 54.1180)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3866C4 #C49638
analogous
#38ACC4 #3866C4 #5038C4
triadic
#3866C4 #C43866 #66C438
tetradic
#3866C4 #C438AC #C49638 #38C450
square
#3866C4 #C438AC #C49638 #38C450
split-complementary
#3866C4 #C45038 #ACC438
monochromatic
#1D3465 #2A4D94 #3866C4 #668AD3 #96AEE1

Accessibility & contrast

On white

5.43
#3866C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#3866C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3866C4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3866C4#FFFFFF#000000##FFFFFF
##3866C41.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3371C7
Deuteranopia (green-blind)
#0A64C2
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3866c4;
/* rgb */ color: rgb(56, 102, 196);
/* oklch */ color: oklch(52.9% 0.156 262.7);
Tailwind
colors: {
  custom: {
    50: '#8091d6',
    500: '#3866c4',
    950: '#000000',
  },
}
SCSS
$custom: #3866c4;
$custom-light: #8091d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3866c4",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 196
  },
  "hsl": {
    "h": 220.286,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52879,
    "c": 0.15553,
    "h": 262.7
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#3866C4
secondary
#CCB78C
accent
#AE49DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3866C4

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

Preview Lab → · Contrast checker → · Palette generator →

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