#345AC5#345AC5
#345AC5 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.3% C 0.173 H 265.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #345AC5 |
|---|---|
| RGB | rgb(52, 90, 197) |
| HSL | hsl(224, 58%, 49%) |
| HSV | hsv(224, 74%, 77%) |
| CMYK | cmyk(73.6%, 54.3%, 0%, 22.7%) |
| CIE-LAB | lab(41.33, 23.97, -59.80) |
| CIE-LCH | lch(41.33, 64.42, 291.84°) |
| OKLab | oklab(50.29% -0.013 -0.1723) |
| OKLCH | oklch(50.29% 0.173 265.7) |
| XYZ | xyz(15.1468, 12.0720, 54.3443) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.85
Denim
#1560BD
ΔE00 4.68
Azul
#1D5DEC
ΔE00 4.74
Warm Blue
#4B57DB
ΔE00 5.03
Royal Blue
#4169E1
ΔE00 6.28
French Blue
#436BAD
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345AC5 #C59F34
analogous
#34A3C5 #345AC5 #5734C5
triadic
#345AC5 #C5345A #5AC534
tetradic
#345AC5 #C534A3 #C59F34 #34C557
square
#345AC5 #C534A3 #C59F34 #34C557
split-complementary
#345AC5 #C55734 #A3C534
monochromatic
#1A2E64 #274495 #345AC5 #617FD5 #91A6E2
Accessibility & contrast
On white
6.15
#345AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#345AC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #345AC5
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345AC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345AC5 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #345ac5; /* rgb */ color: rgb(52, 90, 197); /* oklch */ color: oklch(50.3% 0.173 265.7);
Tailwind
colors: {
custom: {
50: '#7f88d7',
500: '#345ac5',
950: '#000000',
},
}SCSS
$custom: #345ac5; $custom-light: #7f88d7; $custom-dark: #000000;
JSON
{
"hex": "#345ac5",
"rgb": {
"r": 52,
"g": 90,
"b": 197
},
"hsl": {
"h": 224.276,
"s": 58.233,
"l": 48.824
},
"oklch": {
"l": 0.50293,
"c": 0.17276,
"h": 265.7
},
"luminance": 0.12074
}Semantic roles & 50–950 ramp
primary
#345AC5
secondary
#CDBB88
accent
#B946E1
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83