#345AB1#345AB1
#345AB1 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.145 H 264.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #345AB1 |
|---|---|
| RGB | rgb(52, 90, 177) |
| HSL | hsl(222, 55%, 45%) |
| HSV | hsv(222, 71%, 69%) |
| CMYK | cmyk(70.6%, 49.2%, 0%, 30.6%) |
| CIE-LAB | lab(39.94, 16.53, -50.36) |
| CIE-LCH | lch(39.94, 53.00, 288.17°) |
| OKLab | oklab(48.8% -0.0151 -0.1445) |
| OKLCH | oklch(48.8% 0.145 264) |
| XYZ | xyz(13.0054, 11.2154, 43.0658) |
| Luminance | 0.1122 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.25
Denim
#1560BD
ΔE00 3.92
Denim Blue
#3B5B92
ΔE00 4.04
Dusky Blue
#475F94
ΔE00 4.86
Dusk Blue
#26538D
ΔE00 5.53
Light Navy Blue
#2E5A88
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345AB1 #B18B34
analogous
#3499B1 #345AB1 #4D34B1
triadic
#345AB1 #B1345A #5AB134
tetradic
#345AB1 #B13499 #B18B34 #34B14D
square
#345AB1 #B13499 #B18B34 #34B14D
split-complementary
#345AB1 #B14D34 #99B134
monochromatic
#182A52 #264282 #345AB1 #557ACD #849FDB
Accessibility & contrast
On white
6.47
#345AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#345AB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #345AB1
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345AB1 | 1.00 | 6.47 | 3.24 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A64B4
Deuteranopia (green-blind)
#0159AF
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #345ab1; /* rgb */ color: rgb(52, 90, 177); /* oklch */ color: oklch(48.8% 0.145 264.0);
Tailwind
colors: {
custom: {
50: '#7b88c9',
500: '#345ab1',
950: '#000000',
},
}SCSS
$custom: #345ab1; $custom-light: #7b88c9; $custom-dark: #000000;
JSON
{
"hex": "#345ab1",
"rgb": {
"r": 52,
"g": 90,
"b": 177
},
"hsl": {
"h": 221.76,
"s": 54.585,
"l": 44.902
},
"oklch": {
"l": 0.48796,
"c": 0.14528,
"h": 264
},
"luminance": 0.11217
}Semantic roles & 50–950 ramp
primary
#345AB1
secondary
#C5AF7C
accent
#B14ADE
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82