#345DC5#345DC5
#345DC5 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.169 H 264.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #345DC5 |
|---|---|
| RGB | rgb(52, 93, 197) |
| HSL | hsl(223, 58%, 49%) |
| HSV | hsv(223, 74%, 77%) |
| CMYK | cmyk(73.6%, 52.8%, 0%, 22.7%) |
| CIE-LAB | lab(42.14, 22.02, -58.49) |
| CIE-LCH | lch(42.14, 62.50, 290.63°) |
| OKLab | oklab(50.9% -0.0154 -0.1684) |
| OKLCH | oklch(50.9% 0.169 264.8) |
| XYZ | xyz(15.4050, 12.5883, 54.4304) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.95
Sapphire
#0F52BA
ΔE00 4.35
Azul
#1D5DEC
ΔE00 4.61
Warm Blue
#4B57DB
ΔE00 5.56
French Blue
#436BAD
ΔE00 5.58
Royal Blue
#4169E1
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345DC5 #C59C34
analogous
#34A6C5 #345DC5 #5334C5
triadic
#345DC5 #C5345D #5DC534
tetradic
#345DC5 #C534A6 #C59C34 #34C553
square
#345DC5 #C534A6 #C59C34 #34C553
split-complementary
#345DC5 #C55334 #A6C534
monochromatic
#1A2F64 #274695 #345DC5 #6182D5 #91A8E2
Accessibility & contrast
On white
5.97
#345DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#345DC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #345DC5
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345DC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345DC5 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#126AC9
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #345dc5; /* rgb */ color: rgb(52, 93, 197); /* oklch */ color: oklch(50.9% 0.169 264.8);
Tailwind
colors: {
custom: {
50: '#7f8ad7',
500: '#345dc5',
950: '#000000',
},
}SCSS
$custom: #345dc5; $custom-light: #7f8ad7; $custom-dark: #000000;
JSON
{
"hex": "#345dc5",
"rgb": {
"r": 52,
"g": 93,
"b": 197
},
"hsl": {
"h": 223.034,
"s": 58.233,
"l": 48.824
},
"oklch": {
"l": 0.50903,
"c": 0.16908,
"h": 264.8
},
"luminance": 0.1259
}Semantic roles & 50–950 ramp
primary
#345DC5
secondary
#CDB988
accent
#B646E1
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0B14
muted
#7C7C83