#345CB8#345CB8
#345CB8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.153 H 264.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #345CB8 |
|---|---|
| RGB | rgb(52, 92, 184) |
| HSL | hsl(222, 56%, 46%) |
| HSV | hsv(222, 72%, 72%) |
| CMYK | cmyk(71.7%, 50%, 0%, 27.8%) |
| CIE-LAB | lab(40.97, 17.83, -52.82) |
| CIE-LCH | lch(40.97, 55.75, 288.66°) |
| OKLab | oklab(49.73% -0.016 -0.1517) |
| OKLCH | oklch(49.73% 0.153 264) |
| XYZ | xyz(13.8920, 11.8436, 46.8920) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.45
Sapphire
#0F52BA
ΔE00 3.63
Denim Blue
#3B5B92
ΔE00 4.82
French Blue
#436BAD
ΔE00 5.30
Dusky Blue
#475F94
ΔE00 5.38
Denim (survey)
#3B638C
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345CB8 #B89034
analogous
#349EB8 #345CB8 #4E34B8
triadic
#345CB8 #B8345C #5CB834
tetradic
#345CB8 #B8349E #B89034 #34B84E
square
#345CB8 #B8349E #B89034 #34B84E
split-complementary
#345CB8 #B84E34 #9EB834
monochromatic
#192C59 #274488 #345CB8 #597DD0 #89A3DE
Accessibility & contrast
On white
6.23
#345CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#345CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #345CB8
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345CB8 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2667BB
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #345cb8; /* rgb */ color: rgb(52, 92, 184); /* oklch */ color: oklch(49.7% 0.153 264.0);
Tailwind
colors: {
custom: {
50: '#7c89ce',
500: '#345cb8',
950: '#000000',
},
}SCSS
$custom: #345cb8; $custom-light: #7c89ce; $custom-dark: #000000;
JSON
{
"hex": "#345cb8",
"rgb": {
"r": 52,
"g": 92,
"b": 184
},
"hsl": {
"h": 221.818,
"s": 55.932,
"l": 46.275
},
"oklch": {
"l": 0.49729,
"c": 0.15253,
"h": 264
},
"luminance": 0.11845
}Semantic roles & 50–950 ramp
primary
#345CB8
secondary
#C8B280
accent
#B249DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82