#345FB6#345FB6
#345FB6 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.2% C 0.146 H 262.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #345FB6 |
|---|---|
| RGB | rgb(52, 95, 182) |
| HSL | hsl(220, 56%, 46%) |
| HSV | hsv(220, 71%, 71%) |
| CMYK | cmyk(71.4%, 47.8%, 0%, 28.6%) |
| CIE-LAB | lab(41.67, 15.14, -50.51) |
| CIE-LCH | lch(41.67, 52.73, 286.69°) |
| OKLab | oklab(50.23% -0.0189 -0.1448) |
| OKLCH | oklch(50.23% 0.146 262.6) |
| XYZ | xyz(13.9489, 12.2904, 45.8841) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.68
French Blue
#436BAD
ΔE00 4.24
Sapphire
#0F52BA
ΔE00 4.43
Denim Blue
#3B5B92
ΔE00 4.67
Dusky Blue
#475F94
ΔE00 5.15
Mid Blue
#276AB3
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345FB6 #B68B34
analogous
#34A0B6 #345FB6 #4A34B6
triadic
#345FB6 #B6345F #5FB634
tetradic
#345FB6 #B634A0 #B68B34 #34B64A
square
#345FB6 #B634A0 #B68B34 #34B64A
split-complementary
#345FB6 #B64A34 #A0B634
monochromatic
#192D57 #264686 #345FB6 #587FCF #88A4DD
Accessibility & contrast
On white
6.07
#345FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#345FB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #345FB6
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345FB6 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3069B9
Deuteranopia (green-blind)
#0E5DB4
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #345fb6; /* rgb */ color: rgb(52, 95, 182); /* oklch */ color: oklch(50.2% 0.146 262.6);
Tailwind
colors: {
custom: {
50: '#7c8bcc',
500: '#345fb6',
950: '#000000',
},
}SCSS
$custom: #345fb6; $custom-light: #7c8bcc; $custom-dark: #000000;
JSON
{
"hex": "#345fb6",
"rgb": {
"r": 52,
"g": 95,
"b": 182
},
"hsl": {
"h": 220.154,
"s": 55.556,
"l": 45.882
},
"oklch": {
"l": 0.50227,
"c": 0.14607,
"h": 262.6
},
"luminance": 0.12292
}Semantic roles & 50–950 ramp
primary
#345FB6
secondary
#C7AF7F
accent
#AD49DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82