#3165B5#3165B5
#3165B5 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.4% C 0.138 H 258.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3165B5 |
|---|---|
| RGB | rgb(49, 101, 181) |
| HSL | hsl(216, 57%, 45%) |
| HSV | hsv(216, 73%, 71%) |
| CMYK | cmyk(72.9%, 44.2%, 0%, 29%) |
| CIE-LAB | lab(43.20, 10.48, -47.47) |
| CIE-LCH | lch(43.20, 48.62, 282.45°) |
| OKLab | oklab(51.35% -0.0267 -0.1359) |
| OKLCH | oklch(51.35% 0.138 258.9) |
| XYZ | xyz(14.2578, 13.2950, 45.5219) |
| Luminance | 0.1330 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.17
French Blue
#436BAD
ΔE00 2.63
Mid Blue
#276AB3
ΔE00 2.79
Medium Blue
#2C6FBB
ΔE00 4.01
Denim (survey)
#3B638C
ΔE00 4.86
Flat Blue
#3C73A8
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3165B5 #B58131
analogous
#31A7B5 #3165B5 #3F31B5
triadic
#3165B5 #B53165 #65B531
tetradic
#3165B5 #B531A7 #B58131 #31B53F
square
#3165B5 #B531A7 #B58131 #31B53F
split-complementary
#3165B5 #B53F31 #A7B531
monochromatic
#172F55 #244A85 #3165B5 #5384D0 #83A7DD
Accessibility & contrast
On white
5.74
#3165B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#3165B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3165B5
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3165B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3165B5 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D6DB8
Deuteranopia (green-blind)
#2460B3
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3165b5; /* rgb */ color: rgb(49, 101, 181); /* oklch */ color: oklch(51.4% 0.138 258.9);
Tailwind
colors: {
custom: {
50: '#7a90cc',
500: '#3165b5',
950: '#000000',
},
}SCSS
$custom: #3165b5; $custom-light: #7a90cc; $custom-dark: #000000;
JSON
{
"hex": "#3165b5",
"rgb": {
"r": 49,
"g": 101,
"b": 181
},
"hsl": {
"h": 216.364,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.51352,
"c": 0.13847,
"h": 258.9
},
"luminance": 0.13297
}Semantic roles & 50–950 ramp
primary
#3165B5
secondary
#C7A97B
accent
#A447E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82