#345FB9#345FB9
#345FB9 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.4% C 0.150 H 262.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #345FB9 |
|---|---|
| RGB | rgb(52, 95, 185) |
| HSL | hsl(221, 56%, 46%) |
| HSV | hsv(221, 72%, 73%) |
| CMYK | cmyk(71.9%, 48.6%, 0%, 27.5%) |
| CIE-LAB | lab(41.87, 16.26, -51.95) |
| CIE-LCH | lch(41.87, 54.43, 287.38°) |
| OKLab | oklab(50.44% -0.0184 -0.1491) |
| OKLCH | oklch(50.44% 0.15 262.9) |
| XYZ | xyz(14.2622, 12.4158, 47.5344) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.77
French Blue
#436BAD
ΔE00 4.34
Sapphire
#0F52BA
ΔE00 4.43
Denim Blue
#3B5B92
ΔE00 5.01
Mid Blue
#276AB3
ΔE00 5.36
Dusky Blue
#475F94
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345FB9 #B98E34
analogous
#34A2B9 #345FB9 #4C34B9
triadic
#345FB9 #B9345F #5FB934
tetradic
#345FB9 #B934A2 #B98E34 #34B94C
square
#345FB9 #B934A2 #B98E34 #34B94C
split-complementary
#345FB9 #B94C34 #A2B934
monochromatic
#192E59 #274689 #345FB9 #5A80D1 #89A5DE
Accessibility & contrast
On white
6.03
#345FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#345FB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #345FB9
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345FB9 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D69BC
Deuteranopia (green-blind)
#025DB7
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #345fb9; /* rgb */ color: rgb(52, 95, 185); /* oklch */ color: oklch(50.4% 0.150 262.9);
Tailwind
colors: {
custom: {
50: '#7c8bcf',
500: '#345fb9',
950: '#000000',
},
}SCSS
$custom: #345fb9; $custom-light: #7c8bcf; $custom-dark: #000000;
JSON
{
"hex": "#345fb9",
"rgb": {
"r": 52,
"g": 95,
"b": 185
},
"hsl": {
"h": 220.602,
"s": 56.118,
"l": 46.471
},
"oklch": {
"l": 0.50439,
"c": 0.15021,
"h": 262.9
},
"luminance": 0.12417
}Semantic roles & 50–950 ramp
primary
#345FB9
secondary
#C8B181
accent
#AF48DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82