#3866C7#3866C7
#3866C7 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.1% C 0.160 H 263.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #3866C7 |
|---|---|
| RGB | rgb(56, 102, 199) |
| HSL | hsl(221, 56%, 50%) |
| HSV | hsv(221, 72%, 78%) |
| CMYK | cmyk(71.9%, 48.7%, 0%, 22%) |
| CIE-LAB | lab(44.89, 17.51, -55.19) |
| CIE-LCH | lch(44.89, 57.90, 287.60°) |
| OKLab | oklab(53.09% -0.0194 -0.1584) |
| OKLCH | oklch(53.09% 0.16 263) |
| XYZ | xyz(16.6874, 14.4652, 55.9344) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.44
Denim
#1560BD
ΔE00 3.80
Royal Blue
#4169E1
ΔE00 3.96
Mid Blue
#276AB3
ΔE00 4.73
Medium Blue
#2C6FBB
ΔE00 4.94
Cornflower Blue
#5170D7
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3866C7 #C79938
analogous
#38AEC7 #3866C7 #5138C7
triadic
#3866C7 #C73866 #66C738
tetradic
#3866C7 #C738AE #C79938 #38C751
square
#3866C7 #C738AE #C79938 #38C751
split-complementary
#3866C7 #C75138 #AEC738
monochromatic
#1D3567 #2B4E97 #3866C7 #688BD4 #98AFE2
Accessibility & contrast
On white
5.39
#3866C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#3866C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3866C7
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3866C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3866C7 | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F71CB
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #3866c7; /* rgb */ color: rgb(56, 102, 199); /* oklch */ color: oklch(53.1% 0.160 263.0);
Tailwind
colors: {
custom: {
50: '#8091d9',
500: '#3866c7',
950: '#000000',
},
}SCSS
$custom: #3866c7; $custom-light: #8091d9; $custom-dark: #000000;
JSON
{
"hex": "#3866c7",
"rgb": {
"r": 56,
"g": 102,
"b": 199
},
"hsl": {
"h": 220.699,
"s": 56.078,
"l": 50
},
"oklch": {
"l": 0.5309,
"c": 0.15961,
"h": 263
},
"luminance": 0.14467
}Semantic roles & 50–950 ramp
primary
#3866C7
secondary
#CDB98D
accent
#AF48DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83