#3866D3#3866D3

#3866D3 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.0% C 0.176 H 264.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#3866D3
RGBrgb(56, 102, 211)
HSLhsl(222, 64%, 52%)
HSVhsv(222, 73%, 83%)
CMYKcmyk(73.5%, 51.7%, 0%, 17.3%)
CIE-LABlab(45.70, 21.92, -60.78)
CIE-LCHlch(45.70, 64.61, 289.84°)
OKLaboklab(53.96% -0.018 -0.1749)
OKLCHoklch(53.96% 0.176 264.1)
XYZxyz(18.1360, 15.0447, 63.5635)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3866D3 #D3A538
analogous
#38B3D3 #3866D3 #5838D3
triadic
#3866D3 #D33866 #66D338
tetradic
#3866D3 #D338B3 #D3A538 #38D358
square
#3866D3 #D338B3 #D3A538 #38D358
split-complementary
#3866D3 #D35838 #B3D338
monochromatic
#1A3676 #254CA9 #3866D3 #6A8DDE #9CB3E9

Accessibility & contrast

On white

5.24
#3866D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#3866D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3866D3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3866D3#FFFFFF#000000##FFFFFF
##3866D31.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D74D7
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#008093
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3866d3;
/* rgb */ color: rgb(56, 102, 211);
/* oklch */ color: oklch(54.0% 0.176 264.1);
Tailwind
colors: {
  custom: {
    50: '#8391e1',
    500: '#3866d3',
    950: '#000000',
  },
}
SCSS
$custom: #3866d3;
$custom-light: #8391e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3866d3",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 211
  },
  "hsl": {
    "h": 222.194,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53958,
    "c": 0.1758,
    "h": 264.1
  },
  "luminance": 0.15047
}

Semantic roles & 50–950 ramp

primary
#3866D3
secondary
#D5C192
accent
#B641E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3866D3

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

Preview Lab → · Contrast checker → · Palette generator →

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