#3166C4#3166C4
#3166C4 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.6% C 0.158 H 260.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3166C4 |
|---|---|
| RGB | rgb(49, 102, 196) |
| HSL | hsl(218, 60%, 48%) |
| HSV | hsv(218, 75%, 77%) |
| CMYK | cmyk(75%, 48%, 0%, 23.1%) |
| CIE-LAB | lab(44.43, 15.47, -54.21) |
| CIE-LCH | lch(44.43, 56.38, 285.92°) |
| OKLab | oklab(52.6% -0.025 -0.1557) |
| OKLCH | oklch(52.6% 0.158 260.9) |
| XYZ | xyz(15.9782, 14.1394, 54.1009) |
| Luminance | 0.1414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.94
French Blue
#436BAD
ΔE00 3.14
Mid Blue
#276AB3
ΔE00 3.76
Medium Blue
#2C6FBB
ΔE00 4.19
Royal Blue
#4169E1
ΔE00 4.82
Cerulean Blue
#056EEE
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3166C4 #C48F31
analogous
#31B0C4 #3166C4 #4531C4
triadic
#3166C4 #C43166 #66C431
tetradic
#3166C4 #C431B0 #C48F31 #31C445
square
#3166C4 #C431B0 #C48F31 #31C445
split-complementary
#3166C4 #C44531 #B0C431
monochromatic
#193362 #254D93 #3166C4 #5C88D6 #8DACE2
Accessibility & contrast
On white
5.49
#3166C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#3166C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3166C4
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3166C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3166C4 | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3270C7
Deuteranopia (green-blind)
#0063C2
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #3166c4; /* rgb */ color: rgb(49, 102, 196); /* oklch */ color: oklch(52.6% 0.158 260.9);
Tailwind
colors: {
custom: {
50: '#7d91d6',
500: '#3166c4',
950: '#000000',
},
}SCSS
$custom: #3166c4; $custom-light: #7d91d6; $custom-dark: #000000;
JSON
{
"hex": "#3166c4",
"rgb": {
"r": 49,
"g": 102,
"b": 196
},
"hsl": {
"h": 218.367,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.52601,
"c": 0.15767,
"h": 260.9
},
"luminance": 0.14141
}Semantic roles & 50–950 ramp
primary
#3166C4
secondary
#CDB384
accent
#AA45E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83