#3866C2#3866C2

#3866C2 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.7% C 0.153 H 262.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#3866C2
RGBrgb(56, 102, 194)
HSLhsl(220, 55%, 49%)
HSVhsv(220, 71%, 76%)
CMYKcmyk(71.1%, 47.4%, 0%, 23.9%)
CIE-LABlab(44.57, 15.66, -52.82)
CIE-LCHlch(44.57, 55.10, 286.52°)
OKLaboklab(52.74% -0.0201 -0.1515)
OKLCHoklch(52.74% 0.153 262.4)
XYZxyz(16.1164, 14.2368, 52.9271)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3866C2 #C29438
analogous
#38ABC2 #3866C2 #4F38C2
triadic
#3866C2 #C23866 #66C238
tetradic
#3866C2 #C238AB #C29438 #38C24F
square
#3866C2 #C238AB #C29438 #38C24F
split-complementary
#3866C2 #C24F38 #ABC238
monochromatic
#1D3463 #2A4D93 #3866C2 #6589D2 #94AEE0

Accessibility & contrast

On white

5.46
#3866C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#3866C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3866C2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3866C2#FFFFFF#000000##FFFFFF
##3866C21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3570C5
Deuteranopia (green-blind)
#1263C0
Tritanopia (blue-blind)
#007C8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3866c2;
/* rgb */ color: rgb(56, 102, 194);
/* oklch */ color: oklch(52.7% 0.153 262.4);
Tailwind
colors: {
  custom: {
    50: '#7f91d5',
    500: '#3866c2',
    950: '#000000',
  },
}
SCSS
$custom: #3866c2;
$custom-light: #7f91d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3866c2",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 194
  },
  "hsl": {
    "h": 220,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5274,
    "c": 0.15279,
    "h": 262.4
  },
  "luminance": 0.14239
}

Semantic roles & 50–950 ramp

primary
#3866C2
secondary
#CBB68A
accent
#AD49DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3866C2

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

Preview Lab → · Contrast checker → · Palette generator →

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