#345797#345797
#345797 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.4% C 0.112 H 261.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #345797 |
|---|---|
| RGB | rgb(52, 87, 151) |
| HSL | hsl(219, 49%, 40%) |
| HSV | hsv(219, 66%, 59%) |
| CMYK | cmyk(65.6%, 42.4%, 0%, 40.8%) |
| CIE-LAB | lab(37.44, 8.85, -38.87) |
| CIE-LCH | lch(37.44, 39.87, 282.82°) |
| OKLab | oklab(46.35% -0.0166 -0.1108) |
| OKLCH | oklch(46.35% 0.112 261.5) |
| XYZ | xyz(10.4083, 9.7798, 30.6113) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.64
Dusk Blue
#26538D
ΔE00 2.65
Light Navy Blue
#2E5A88
ΔE00 3.53
Dusky Blue
#475F94
ΔE00 3.72
Sapphire
#0F52BA
ΔE00 4.80
Cobalt (survey)
#1E488F
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345797 #977434
analogous
#348897 #345797 #433497
triadic
#345797 #973457 #579734
tetradic
#345797 #973488 #977434 #349743
square
#345797 #973488 #977434 #349743
split-complementary
#345797 #974334 #889734
monochromatic
#15233C #243D69 #345797 #4873C0 #7696D0
Accessibility & contrast
On white
7.10
#345797 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#345797 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #345797
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345797 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5D9A
Deuteranopia (green-blind)
#2B5496
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #345797; /* rgb */ color: rgb(52, 87, 151); /* oklch */ color: oklch(46.4% 0.112 261.5);
Tailwind
colors: {
custom: {
50: '#7686b6',
500: '#345797',
950: '#000000',
},
}SCSS
$custom: #345797; $custom-light: #7686b6; $custom-dark: #000000;
JSON
{
"hex": "#345797",
"rgb": {
"r": 52,
"g": 87,
"b": 151
},
"hsl": {
"h": 218.788,
"s": 48.768,
"l": 39.804
},
"oklch": {
"l": 0.46352,
"c": 0.11202,
"h": 261.5
},
"luminance": 0.09781
}Semantic roles & 50–950 ramp
primary
#345797
secondary
#B89E6F
accent
#A84FD8
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80