#345FB5#345FB5
#345FB5 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.2% C 0.145 H 262.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #345FB5 |
|---|---|
| RGB | rgb(52, 95, 181) |
| HSL | hsl(220, 55%, 46%) |
| HSV | hsv(220, 71%, 71%) |
| CMYK | cmyk(71.3%, 47.5%, 0%, 29%) |
| CIE-LAB | lab(41.61, 14.77, -50.02) |
| CIE-LCH | lch(41.61, 52.16, 286.45°) |
| OKLab | oklab(50.16% -0.019 -0.1434) |
| OKLCH | oklch(50.16% 0.145 262.4) |
| XYZ | xyz(13.8459, 12.2492, 45.3417) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.66
French Blue
#436BAD
ΔE00 4.22
Sapphire
#0F52BA
ΔE00 4.44
Denim Blue
#3B5B92
ΔE00 4.55
Dusky Blue
#475F94
ΔE00 5.06
Mid Blue
#276AB3
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345FB5 #B58A34
analogous
#349FB5 #345FB5 #4934B5
triadic
#345FB5 #B5345F #5FB534
tetradic
#345FB5 #B5349F #B58A34 #34B549
square
#345FB5 #B5349F #B58A34 #34B549
split-complementary
#345FB5 #B54934 #9FB534
monochromatic
#192D56 #264685 #345FB5 #577FCF #87A3DC
Accessibility & contrast
On white
6.09
#345FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#345FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #345FB5
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345FB5 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3168B8
Deuteranopia (green-blind)
#115DB3
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #345fb5; /* rgb */ color: rgb(52, 95, 181); /* oklch */ color: oklch(50.2% 0.145 262.4);
Tailwind
colors: {
custom: {
50: '#7b8bcc',
500: '#345fb5',
950: '#000000',
},
}SCSS
$custom: #345fb5; $custom-light: #7b8bcc; $custom-dark: #000000;
JSON
{
"hex": "#345fb5",
"rgb": {
"r": 52,
"g": 95,
"b": 181
},
"hsl": {
"h": 220,
"s": 55.365,
"l": 45.686
},
"oklch": {
"l": 0.50157,
"c": 0.14468,
"h": 262.4
},
"luminance": 0.12251
}Semantic roles & 50–950 ramp
primary
#345FB5
secondary
#C6AE7F
accent
#AD49DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82