#3866AC#3866AC

#3866AC is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.3% C 0.122 H 258.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#3866AC
RGBrgb(56, 102, 172)
HSLhsl(216, 51%, 45%)
HSVhsv(216, 67%, 67%)
CMYKcmyk(67.4%, 40.7%, 0%, 32.5%)
CIE-LABlab(43.24, 7.60, -42.12)
CIE-LCHlch(43.24, 42.80, 280.23°)
OKLaboklab(51.29% -0.0242 -0.12)
OKLCHoklch(51.29% 0.122 258.6)
XYZxyz(13.8260, 13.3207, 40.8642)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3866AC #AC7E38
analogous
#38A0AC #3866AC #4438AC
triadic
#3866AC #AC3866 #66AC38
tetradic
#3866AC #AC38A0 #AC7E38 #38AC44
square
#3866AC #AC38A0 #AC7E38 #38AC44
split-complementary
#3866AC #AC4438 #A0AC38
monochromatic
#1A2F50 #294B7E #3866AC #5885C9 #87A7D8

Accessibility & contrast

On white

5.73
#3866AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3866AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3866AC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3866AC#FFFFFF#000000##FFFFFF
##3866AC1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466CAF
Deuteranopia (green-blind)
#3461AB
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3866ac;
/* rgb */ color: rgb(56, 102, 172);
/* oklch */ color: oklch(51.3% 0.122 258.6);
Tailwind
colors: {
  custom: {
    50: '#7b91c5',
    500: '#3866ac',
    950: '#000000',
  },
}
SCSS
$custom: #3866ac;
$custom-light: #7b91c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3866ac",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 172
  },
  "hsl": {
    "h": 216.207,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51287,
    "c": 0.12244,
    "h": 258.6
  },
  "luminance": 0.13322
}

Semantic roles & 50–950 ramp

primary
#3866AC
secondary
#C2A77E
accent
#A24DDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3866AC

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

Preview Lab → · Contrast checker → · Palette generator →

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