#3866AE#3866AE

#3866AE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.4% C 0.125 H 259.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3866AE
RGBrgb(56, 102, 174)
HSLhsl(217, 51%, 45%)
HSVhsv(217, 68%, 68%)
CMYKcmyk(67.8%, 41.4%, 0%, 31.8%)
CIE-LABlab(43.36, 8.33, -43.11)
CIE-LCHlch(43.36, 43.91, 280.94°)
OKLaboklab(51.41% -0.0238 -0.1229)
OKLCHoklch(51.41% 0.125 259.1)
XYZxyz(14.0195, 13.3981, 41.8834)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3866AE #AE8038
analogous
#38A1AE #3866AE #4538AE
triadic
#3866AE #AE3866 #66AE38
tetradic
#3866AE #AE38A1 #AE8038 #38AE45
square
#3866AE #AE38A1 #AE8038 #38AE45
split-complementary
#3866AE #AE4538 #A1AE38
monochromatic
#1A3051 #294B80 #3866AE #5985CA #88A7D9

Accessibility & contrast

On white

5.71
#3866AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3866AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3866AE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3866AE#FFFFFF#000000##FFFFFF
##3866AE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456CB1
Deuteranopia (green-blind)
#3261AD
Tritanopia (blue-blind)
#007781
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3866ae;
/* rgb */ color: rgb(56, 102, 174);
/* oklch */ color: oklch(51.4% 0.125 259.1);
Tailwind
colors: {
  custom: {
    50: '#7c91c6',
    500: '#3866ae',
    950: '#000000',
  },
}
SCSS
$custom: #3866ae;
$custom-light: #7c91c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3866ae",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 174
  },
  "hsl": {
    "h": 216.61,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51413,
    "c": 0.12521,
    "h": 259.1
  },
  "luminance": 0.13399
}

Semantic roles & 50–950 ramp

primary
#3866AE
secondary
#C3A87F
accent
#A44DDB
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3866AE

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

Preview Lab → · Contrast checker → · Palette generator →

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