#345AC1#345AC1
#345AC1 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.167 H 265.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #345AC1 |
|---|---|
| RGB | rgb(52, 90, 193) |
| HSL | hsl(224, 58%, 48%) |
| HSV | hsv(224, 73%, 76%) |
| CMYK | cmyk(73.1%, 53.4%, 0%, 24.3%) |
| CIE-LAB | lab(41.04, 22.48, -57.94) |
| CIE-LCH | lch(41.04, 62.15, 291.21°) |
| OKLab | oklab(49.99% -0.0133 -0.1668) |
| OKLCH | oklch(49.99% 0.167 265.4) |
| XYZ | xyz(14.6946, 11.8911, 51.9625) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.56
Denim
#1560BD
ΔE00 4.42
Azul
#1D5DEC
ΔE00 5.23
Warm Blue
#4B57DB
ΔE00 5.50
Denim Blue
#3B5B92
ΔE00 6.04
French Blue
#436BAD
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345AC1 #C19B34
analogous
#34A0C1 #345AC1 #5534C1
triadic
#345AC1 #C1345A #5AC134
tetradic
#345AC1 #C134A0 #C19B34 #34C155
square
#345AC1 #C134A0 #C19B34 #34C155
split-complementary
#345AC1 #C15534 #A0C134
monochromatic
#1A2D61 #274491 #345AC1 #5E7ED4 #8FA5E1
Accessibility & contrast
On white
6.22
#345AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#345AC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #345AC1
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345AC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345AC1 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C68C5
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #345ac1; /* rgb */ color: rgb(52, 90, 193); /* oklch */ color: oklch(50.0% 0.167 265.4);
Tailwind
colors: {
custom: {
50: '#7e88d4',
500: '#345ac1',
950: '#000000',
},
}SCSS
$custom: #345ac1; $custom-light: #7e88d4; $custom-dark: #000000;
JSON
{
"hex": "#345ac1",
"rgb": {
"r": 52,
"g": 90,
"b": 193
},
"hsl": {
"h": 223.83,
"s": 57.551,
"l": 48.039
},
"oklch": {
"l": 0.49985,
"c": 0.16734,
"h": 265.4
},
"luminance": 0.11893
}Semantic roles & 50–950 ramp
primary
#345AC1
secondary
#CBB886
accent
#B747E1
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83