#345BCF#345BCF
#345BCF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.185 H 265.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #345BCF |
|---|---|
| RGB | rgb(52, 91, 207) |
| HSL | hsl(225, 62%, 51%) |
| HSV | hsv(225, 75%, 81%) |
| CMYK | cmyk(74.9%, 56%, 0%, 18.8%) |
| CIE-LAB | lab(42.33, 27.02, -63.95) |
| CIE-LCH | lch(42.33, 69.42, 292.91°) |
| OKLab | oklab(51.28% -0.0131 -0.1844) |
| OKLCH | oklch(51.28% 0.185 265.9) |
| XYZ | xyz(16.4158, 12.7154, 60.6085) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.46
Warm Blue
#4B57DB
ΔE00 4.12
Sapphire
#0F52BA
ΔE00 4.87
Denim
#1560BD
ΔE00 5.26
Royal Blue
#4169E1
ΔE00 5.31
Electric Blue
#0652FF
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345BCF #CFA834
analogous
#34A9CF #345BCF #5A34CF
triadic
#345BCF #CF345B #5BCF34
tetradic
#345BCF #CF34A9 #CFA834 #34CF5A
square
#345BCF #CF34A9 #CFA834 #34CF5A
split-complementary
#345BCF #CF5A34 #A9CF34
monochromatic
#1A2F6E #2645A0 #345BCF #6583DB #97ABE6
Accessibility & contrast
On white
5.93
#345BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#345BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #345BCF
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345BCF | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #345bcf; /* rgb */ color: rgb(52, 91, 207); /* oklch */ color: oklch(51.3% 0.185 265.9);
Tailwind
colors: {
custom: {
50: '#8188de',
500: '#345bcf',
950: '#000000',
},
}SCSS
$custom: #345bcf; $custom-light: #8188de; $custom-dark: #000000;
JSON
{
"hex": "#345bcf",
"rgb": {
"r": 52,
"g": 91,
"b": 207
},
"hsl": {
"h": 224.903,
"s": 61.753,
"l": 50.784
},
"oklch": {
"l": 0.5128,
"c": 0.18492,
"h": 265.9
},
"luminance": 0.12717
}Semantic roles & 50–950 ramp
primary
#345BCF
secondary
#D2C08D
accent
#BC43E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83