#345DC7#345DC7
#345DC7 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.172 H 264.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #345DC7 |
|---|---|
| RGB | rgb(52, 93, 199) |
| HSL | hsl(223, 59%, 49%) |
| HSV | hsv(223, 74%, 78%) |
| CMYK | cmyk(73.9%, 53.3%, 0%, 22%) |
| CIE-LAB | lab(42.28, 22.77, -59.42) |
| CIE-LCH | lch(42.28, 63.63, 290.96°) |
| OKLab | oklab(51.05% -0.0152 -0.1711) |
| OKLCH | oklch(51.05% 0.172 264.9) |
| XYZ | xyz(15.6357, 12.6806, 55.6453) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.12
Azul
#1D5DEC
ΔE00 4.35
Sapphire
#0F52BA
ΔE00 4.49
Warm Blue
#4B57DB
ΔE00 5.34
Royal Blue
#4169E1
ΔE00 5.43
French Blue
#436BAD
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345DC7 #C79E34
analogous
#34A7C7 #345DC7 #5434C7
triadic
#345DC7 #C7345D #5DC734
tetradic
#345DC7 #C734A7 #C79E34 #34C754
square
#345DC7 #C734A7 #C79E34 #34C754
split-complementary
#345DC7 #C75434 #A7C734
monochromatic
#1B3066 #274696 #345DC7 #6282D6 #93A9E3
Accessibility & contrast
On white
5.94
#345DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#345DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #345DC7
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345DC7 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B6BCB
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #345dc7; /* rgb */ color: rgb(52, 93, 199); /* oklch */ color: oklch(51.1% 0.172 264.9);
Tailwind
colors: {
custom: {
50: '#7f8ad9',
500: '#345dc7',
950: '#000000',
},
}SCSS
$custom: #345dc7; $custom-light: #7f8ad9; $custom-dark: #000000;
JSON
{
"hex": "#345dc7",
"rgb": {
"r": 52,
"g": 93,
"b": 199
},
"hsl": {
"h": 223.265,
"s": 58.566,
"l": 49.216
},
"oklch": {
"l": 0.51055,
"c": 0.17178,
"h": 264.9
},
"luminance": 0.12682
}Semantic roles & 50–950 ramp
primary
#345DC7
secondary
#CEBB89
accent
#B646E2
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83