#3164B2#3164B2
#3164B2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 50.9% C 0.136 H 258.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #3164B2 |
|---|---|
| RGB | rgb(49, 100, 178) |
| HSL | hsl(216, 57%, 45%) |
| HSV | hsv(216, 72%, 70%) |
| CMYK | cmyk(72.5%, 43.8%, 0%, 30.2%) |
| CIE-LAB | lab(42.73, 9.99, -46.47) |
| CIE-LCH | lch(42.73, 47.53, 282.14°) |
| OKLab | oklab(50.93% -0.0264 -0.1329) |
| OKLCH | oklch(50.93% 0.136 258.8) |
| XYZ | xyz(13.8568, 12.9802, 43.8860) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.07
French Blue
#436BAD
ΔE00 2.84
Mid Blue
#276AB3
ΔE00 2.99
Medium Blue
#2C6FBB
ΔE00 4.36
Denim (survey)
#3B638C
ΔE00 4.55
Denim Blue
#3B5B92
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3164B2 #B27F31
analogous
#31A5B2 #3164B2 #3F31B2
triadic
#3164B2 #B23164 #64B231
tetradic
#3164B2 #B231A5 #B27F31 #31B23F
square
#3164B2 #B231A5 #B27F31 #31B23F
split-complementary
#3164B2 #B23F31 #A5B231
monochromatic
#172E52 #244982 #3164B2 #5183CF #81A5DC
Accessibility & contrast
On white
5.84
#3164B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#3164B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3164B2
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3164B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3164B2 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E6BB5
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3164b2; /* rgb */ color: rgb(49, 100, 178); /* oklch */ color: oklch(50.9% 0.136 258.8);
Tailwind
colors: {
custom: {
50: '#798fc9',
500: '#3164b2',
950: '#000000',
},
}SCSS
$custom: #3164b2; $custom-light: #798fc9; $custom-dark: #000000;
JSON
{
"hex": "#3164b2",
"rgb": {
"r": 49,
"g": 100,
"b": 178
},
"hsl": {
"h": 216.279,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.50929,
"c": 0.13553,
"h": 258.8
},
"luminance": 0.12982
}Semantic roles & 50–950 ramp
primary
#3164B2
secondary
#C5A779
accent
#A448E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82