#345BCD#345BCD
#345BCD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.182 H 265.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #345BCD |
|---|---|
| RGB | rgb(52, 91, 205) |
| HSL | hsl(225, 60%, 50%) |
| HSV | hsv(225, 75%, 80%) |
| CMYK | cmyk(74.6%, 55.6%, 0%, 19.6%) |
| CIE-LAB | lab(42.18, 26.28, -63.04) |
| CIE-LCH | lch(42.18, 68.30, 292.63°) |
| OKLab | oklab(51.12% -0.0132 -0.1818) |
| OKLCH | oklch(51.12% 0.182 265.8) |
| XYZ | xyz(16.1728, 12.6182, 59.3290) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.70
Warm Blue
#4B57DB
ΔE00 4.31
Sapphire
#0F52BA
ΔE00 4.67
Denim
#1560BD
ΔE00 5.08
Royal Blue
#4169E1
ΔE00 5.44
Electric Blue
#0652FF
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345BCD #CDA634
analogous
#34A7CD #345BCD #5934CD
triadic
#345BCD #CD345B #5BCD34
tetradic
#345BCD #CD34A7 #CDA634 #34CD59
square
#345BCD #CD34A7 #CDA634 #34CD59
split-complementary
#345BCD #CD5934 #A7CD34
monochromatic
#1B2F6C #27459D #345BCD #6583D9 #96AAE5
Accessibility & contrast
On white
5.96
#345BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#345BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #345BCD
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345BCD | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #345bcd; /* rgb */ color: rgb(52, 91, 205); /* oklch */ color: oklch(51.1% 0.182 265.8);
Tailwind
colors: {
custom: {
50: '#8188dd',
500: '#345bcd',
950: '#000000',
},
}SCSS
$custom: #345bcd; $custom-light: #8188dd; $custom-dark: #000000;
JSON
{
"hex": "#345bcd",
"rgb": {
"r": 52,
"g": 91,
"b": 205
},
"hsl": {
"h": 224.706,
"s": 60.474,
"l": 50.392
},
"oklch": {
"l": 0.51121,
"c": 0.18226,
"h": 265.8
},
"luminance": 0.1262
}Semantic roles & 50–950 ramp
primary
#345BCD
secondary
#D1BF8C
accent
#BB44E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83