#345791#345791
#345791 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.0% C 0.103 H 260.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #345791 |
|---|---|
| RGB | rgb(52, 87, 145) |
| HSL | hsl(217, 47%, 39%) |
| HSV | hsv(217, 64%, 57%) |
| CMYK | cmyk(64.1%, 40%, 0%, 43.1%) |
| CIE-LAB | lab(37.10, 6.66, -35.80) |
| CIE-LCH | lch(37.10, 36.42, 280.53°) |
| OKLab | oklab(45.97% -0.018 -0.1018) |
| OKLCH | oklch(45.97% 0.103 260) |
| XYZ | xyz(9.9334, 9.5899, 28.1101) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.48
Dusk Blue
#26538D
ΔE00 2.21
Light Navy Blue
#2E5A88
ΔE00 2.98
Dusky Blue
#475F94
ΔE00 3.76
Light Navy
#155084
ΔE00 4.70
Denim (survey)
#3B638C
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345791 #916E34
analogous
#348591 #345791 #3F3491
triadic
#345791 #913457 #579134
tetradic
#345791 #913485 #916E34 #34913F
square
#345791 #913485 #916E34 #34913F
split-complementary
#345791 #913F34 #859134
monochromatic
#142137 #243C64 #345791 #4672BD #7395CD
Accessibility & contrast
On white
7.20
#345791 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#345791 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #345791
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345791 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345791 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5C93
Deuteranopia (green-blind)
#305390
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #345791; /* rgb */ color: rgb(52, 87, 145); /* oklch */ color: oklch(46.0% 0.103 260.0);
Tailwind
colors: {
custom: {
50: '#7586b1',
500: '#345791',
950: '#000000',
},
}SCSS
$custom: #345791; $custom-light: #7586b1; $custom-dark: #000000;
JSON
{
"hex": "#345791",
"rgb": {
"r": 52,
"g": 87,
"b": 145
},
"hsl": {
"h": 217.419,
"s": 47.208,
"l": 38.627
},
"oklch": {
"l": 0.45969,
"c": 0.10336,
"h": 260
},
"luminance": 0.09591
}Semantic roles & 50–950 ramp
primary
#345791
secondary
#B5996C
accent
#A451D7
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B11
muted
#7B7C80