#3165B7#3165B7
#3165B7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.5% C 0.141 H 259.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3165B7 |
|---|---|
| RGB | rgb(49, 101, 183) |
| HSL | hsl(217, 58%, 45%) |
| HSV | hsv(217, 73%, 72%) |
| CMYK | cmyk(73.2%, 44.8%, 0%, 28.2%) |
| CIE-LAB | lab(43.33, 11.23, -48.44) |
| CIE-LCH | lch(43.33, 49.73, 283.05°) |
| OKLab | oklab(51.49% -0.0264 -0.1387) |
| OKLCH | oklch(51.49% 0.141 259.2) |
| XYZ | xyz(14.4644, 13.3776, 46.6104) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.17
French Blue
#436BAD
ΔE00 2.65
Mid Blue
#276AB3
ΔE00 2.92
Medium Blue
#2C6FBB
ΔE00 4.04
Denim (survey)
#3B638C
ΔE00 5.05
Flat Blue
#3C73A8
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3165B7 #B78331
analogous
#31A8B7 #3165B7 #4031B7
triadic
#3165B7 #B73165 #65B731
tetradic
#3165B7 #B731A8 #B78331 #31B740
square
#3165B7 #B731A8 #B78331 #31B740
split-complementary
#3165B7 #B74031 #A8B731
monochromatic
#173056 #244A87 #3165B7 #5485D1 #84A7DE
Accessibility & contrast
On white
5.71
#3165B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#3165B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3165B7
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3165B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3165B7 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C6DBA
Deuteranopia (green-blind)
#2161B5
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3165b7; /* rgb */ color: rgb(49, 101, 183); /* oklch */ color: oklch(51.5% 0.141 259.2);
Tailwind
colors: {
custom: {
50: '#7a90cd',
500: '#3165b7',
950: '#000000',
},
}SCSS
$custom: #3165b7; $custom-light: #7a90cd; $custom-dark: #000000;
JSON
{
"hex": "#3165b7",
"rgb": {
"r": 49,
"g": 101,
"b": 183
},
"hsl": {
"h": 216.716,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.51486,
"c": 0.14119,
"h": 259.2
},
"luminance": 0.13379
}Semantic roles & 50–950 ramp
primary
#3165B7
secondary
#C8AA7C
accent
#A547E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82