#345BBA#345BBA
#345BBA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.157 H 264.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #345BBA |
|---|---|
| RGB | rgb(52, 91, 186) |
| HSL | hsl(223, 56%, 47%) |
| HSV | hsv(223, 72%, 73%) |
| CMYK | cmyk(72%, 51.1%, 0%, 27.1%) |
| CIE-LAB | lab(40.83, 19.23, -54.21) |
| CIE-LCH | lch(40.83, 57.52, 289.53°) |
| OKLab | oklab(49.67% -0.0149 -0.1558) |
| OKLCH | oklch(49.67% 0.157 264.6) |
| XYZ | xyz(14.0171, 11.7559, 47.9752) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.44
Denim
#1560BD
ΔE00 3.80
Denim Blue
#3B5B92
ΔE00 5.10
Dusky Blue
#475F94
ΔE00 5.65
French Blue
#436BAD
ΔE00 5.70
Azul
#1D5DEC
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345BBA #BA9334
analogous
#349EBA #345BBA #5034BA
triadic
#345BBA #BA345B #5BBA34
tetradic
#345BBA #BA349E #BA9334 #34BA50
square
#345BBA #BA349E #BA9334 #34BA50
split-complementary
#345BBA #BA5034 #9EBA34
monochromatic
#192C5A #27448A #345BBA #5A7DD1 #8AA3DE
Accessibility & contrast
On white
6.27
#345BBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#345BBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #345BBA
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345BBA | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2067BD
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #345bba; /* rgb */ color: rgb(52, 91, 186); /* oklch */ color: oklch(49.7% 0.157 264.6);
Tailwind
colors: {
custom: {
50: '#7d88cf',
500: '#345bba',
950: '#000000',
},
}SCSS
$custom: #345bba; $custom-light: #7d88cf; $custom-dark: #000000;
JSON
{
"hex": "#345bba",
"rgb": {
"r": 52,
"g": 91,
"b": 186
},
"hsl": {
"h": 222.537,
"s": 56.303,
"l": 46.667
},
"oklch": {
"l": 0.49665,
"c": 0.15653,
"h": 264.6
},
"luminance": 0.11757
}Semantic roles & 50–950 ramp
primary
#345BBA
secondary
#C8B481
accent
#B448E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82