#3866AF#3866AF

#3866AF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.5% C 0.127 H 259.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3866AF
RGBrgb(56, 102, 175)
HSLhsl(217, 52%, 45%)
HSVhsv(217, 68%, 69%)
CMYKcmyk(68%, 41.7%, 0%, 31.4%)
CIE-LABlab(43.41, 8.70, -43.61)
CIE-LCHlch(43.41, 44.47, 281.28°)
OKLaboklab(51.48% -0.0236 -0.1244)
OKLCHoklch(51.48% 0.127 259.3)
XYZxyz(14.1173, 13.4372, 42.3988)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3866AF #AF8138
analogous
#38A1AF #3866AF #4638AF
triadic
#3866AF #AF3866 #66AF38
tetradic
#3866AF #AF38A1 #AF8138 #38AF46
square
#3866AF #AF38A1 #AF8138 #38AF46
split-complementary
#3866AF #AF4638 #A1AF38
monochromatic
#1A3052 #294B81 #3866AF #5A85CA #88A8D9

Accessibility & contrast

On white

5.69
#3866AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3866AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3866AF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3866AF#FFFFFF#000000##FFFFFF
##3866AF1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446DB2
Deuteranopia (green-blind)
#3161AE
Tritanopia (blue-blind)
#007782
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3866af;
/* rgb */ color: rgb(56, 102, 175);
/* oklch */ color: oklch(51.5% 0.127 259.3);
Tailwind
colors: {
  custom: {
    50: '#7c91c7',
    500: '#3866af',
    950: '#000000',
  },
}
SCSS
$custom: #3866af;
$custom-light: #7c91c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3866af",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 216.807,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.12659,
    "h": 259.3
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3866AF

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

Preview Lab → · Contrast checker → · Palette generator →

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