#3166C6#3166C6
#3166C6 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.7% C 0.160 H 261.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #3166C6 |
|---|---|
| RGB | rgb(49, 102, 198) |
| HSL | hsl(219, 60%, 48%) |
| HSV | hsv(219, 75%, 78%) |
| CMYK | cmyk(75.3%, 48.5%, 0%, 22.4%) |
| CIE-LAB | lab(44.56, 16.22, -55.16) |
| CIE-LCH | lch(44.56, 57.49, 286.39°) |
| OKLab | oklab(52.74% -0.0247 -0.1584) |
| OKLCH | oklch(52.74% 0.16 261.1) |
| XYZ | xyz(16.2074, 14.2311, 55.3078) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.10
French Blue
#436BAD
ΔE00 3.31
Mid Blue
#276AB3
ΔE00 3.96
Medium Blue
#2C6FBB
ΔE00 4.32
Royal Blue
#4169E1
ΔE00 4.57
Cerulean Blue
#056EEE
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3166C6 #C69131
analogous
#31B0C6 #3166C6 #4731C6
triadic
#3166C6 #C63166 #66C631
tetradic
#3166C6 #C631B0 #C69131 #31C647
square
#3166C6 #C631B0 #C69131 #31C647
split-complementary
#3166C6 #C64731 #B0C631
monochromatic
#193364 #254D95 #3166C6 #5D89D7 #8EACE3
Accessibility & contrast
On white
5.46
#3166C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#3166C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3166C6
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3166C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3166C6 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F71CA
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#007D8C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #3166c6; /* rgb */ color: rgb(49, 102, 198); /* oklch */ color: oklch(52.7% 0.160 261.1);
Tailwind
colors: {
custom: {
50: '#7e91d8',
500: '#3166c6',
950: '#000000',
},
}SCSS
$custom: #3166c6; $custom-light: #7e91d8; $custom-dark: #000000;
JSON
{
"hex": "#3166c6",
"rgb": {
"r": 49,
"g": 102,
"b": 198
},
"hsl": {
"h": 218.658,
"s": 60.324,
"l": 48.431
},
"oklch": {
"l": 0.52743,
"c": 0.16037,
"h": 261.1
},
"luminance": 0.14233
}Semantic roles & 50–950 ramp
primary
#3166C6
secondary
#CEB485
accent
#AB44E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83