#345BCA#345BCA
#345BCA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.178 H 265.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #345BCA |
|---|---|
| RGB | rgb(52, 91, 202) |
| HSL | hsl(224, 59%, 50%) |
| HSV | hsv(224, 74%, 79%) |
| CMYK | cmyk(74.3%, 55%, 0%, 20.8%) |
| CIE-LAB | lab(41.96, 25.17, -61.67) |
| CIE-LCH | lch(41.96, 66.61, 292.20°) |
| OKLab | oklab(50.88% -0.0134 -0.1777) |
| OKLCH | oklch(50.88% 0.178 265.7) |
| XYZ | xyz(15.8142, 12.4748, 57.4401) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.06
Sapphire
#0F52BA
ΔE00 4.40
Warm Blue
#4B57DB
ΔE00 4.63
Denim
#1560BD
ΔE00 4.82
Royal Blue
#4169E1
ΔE00 5.65
French Blue
#436BAD
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345BCA #CAA334
analogous
#34A6CA #345BCA #5834CA
triadic
#345BCA #CA345B #5BCA34
tetradic
#345BCA #CA34A6 #CAA334 #34CA58
square
#345BCA #CA34A6 #CAA334 #34CA58
split-complementary
#345BCA #CA5834 #A6CA34
monochromatic
#1B2F69 #274599 #345BCA #6482D7 #95A9E4
Accessibility & contrast
On white
6.01
#345BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#345BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #345BCA
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345BCA | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #345bca; /* rgb */ color: rgb(52, 91, 202); /* oklch */ color: oklch(50.9% 0.178 265.7);
Tailwind
colors: {
custom: {
50: '#8088db',
500: '#345bca',
950: '#000000',
},
}SCSS
$custom: #345bca; $custom-light: #8088db; $custom-dark: #000000;
JSON
{
"hex": "#345bca",
"rgb": {
"r": 52,
"g": 91,
"b": 202
},
"hsl": {
"h": 224.4,
"s": 59.055,
"l": 49.804
},
"oklch": {
"l": 0.50884,
"c": 0.17826,
"h": 265.7
},
"luminance": 0.12477
}Semantic roles & 50–950 ramp
primary
#345BCA
secondary
#CFBD8B
accent
#BA46E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83