#3166C1#3166C1
#3166C1 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.4% C 0.154 H 260.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3166C1 |
|---|---|
| RGB | rgb(49, 102, 193) |
| HSL | hsl(218, 60%, 47%) |
| HSV | hsv(218, 75%, 76%) |
| CMYK | cmyk(74.6%, 47.2%, 0%, 24.3%) |
| CIE-LAB | lab(44.24, 14.34, -52.79) |
| CIE-LCH | lch(44.24, 54.70, 285.20°) |
| OKLab | oklab(52.39% -0.0255 -0.1515) |
| OKLCH | oklch(52.39% 0.154 260.4) |
| XYZ | xyz(15.6402, 14.0042, 52.3205) |
| Luminance | 0.1401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.73
French Blue
#436BAD
ΔE00 2.92
Mid Blue
#276AB3
ΔE00 3.46
Medium Blue
#2C6FBB
ΔE00 4.03
Royal Blue
#4169E1
ΔE00 5.19
Cerulean Blue
#056EEE
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3166C1 #C18C31
analogous
#31AEC1 #3166C1 #4431C1
triadic
#3166C1 #C13166 #66C131
tetradic
#3166C1 #C131AE #C18C31 #31C144
square
#3166C1 #C131AE #C18C31 #31C144
split-complementary
#3166C1 #C14431 #AEC131
monochromatic
#18325F #254C90 #3166C1 #5A87D5 #8BABE2
Accessibility & contrast
On white
5.52
#3166C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#3166C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3166C1
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3166C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3166C1 | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3570C4
Deuteranopia (green-blind)
#0D62BF
Tritanopia (blue-blind)
#007C8A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #3166c1; /* rgb */ color: rgb(49, 102, 193); /* oklch */ color: oklch(52.4% 0.154 260.4);
Tailwind
colors: {
custom: {
50: '#7d91d4',
500: '#3166c1',
950: '#000000',
},
}SCSS
$custom: #3166c1; $custom-light: #7d91d4; $custom-dark: #000000;
JSON
{
"hex": "#3166c1",
"rgb": {
"r": 49,
"g": 102,
"b": 193
},
"hsl": {
"h": 217.917,
"s": 59.504,
"l": 47.451
},
"oklch": {
"l": 0.52391,
"c": 0.15361,
"h": 260.4
},
"luminance": 0.14006
}Semantic roles & 50–950 ramp
primary
#3166C1
secondary
#CCB182
accent
#A945E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83