#3866CF#3866CF

#3866CF is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.7% C 0.170 H 263.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#3866CF
RGBrgb(56, 102, 207)
HSLhsl(222, 61%, 52%)
HSVhsv(222, 73%, 81%)
CMYKcmyk(72.9%, 50.7%, 0%, 18.8%)
CIE-LABlab(45.42, 20.45, -58.93)
CIE-LCHlch(45.42, 62.38, 289.14°)
OKLaboklab(53.66% -0.0184 -0.1694)
OKLCHoklch(53.66% 0.17 263.8)
XYZxyz(17.6407, 14.8466, 60.9554)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3866CF #CFA138
analogous
#38B2CF #3866CF #5638CF
triadic
#3866CF #CF3866 #66CF38
tetradic
#3866CF #CF38B2 #CFA138 #38CF56
square
#3866CF #CF38B2 #CFA138 #38CF56
split-complementary
#3866CF #CF5638 #B2CF38
monochromatic
#1B3671 #274DA3 #3866CF #698CDB #9BB2E7

Accessibility & contrast

On white

5.29
#3866CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#3866CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3866CF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3866CF#FFFFFF#000000##FFFFFF
##3866CF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2473D3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3866cf;
/* rgb */ color: rgb(56, 102, 207);
/* oklch */ color: oklch(53.7% 0.170 263.8);
Tailwind
colors: {
  custom: {
    50: '#8291de',
    500: '#3866cf',
    950: '#000000',
  },
}
SCSS
$custom: #3866cf;
$custom-light: #8291de;
$custom-dark: #000000;
JSON
{
  "hex": "#3866cf",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 221.722,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53664,
    "c": 0.17044,
    "h": 263.8
  },
  "luminance": 0.14848
}

Semantic roles & 50–950 ramp

primary
#3866CF
secondary
#D3BE90
accent
#B344E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3866CF

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

Preview Lab → · Contrast checker → · Palette generator →

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