#345299#345299
#345299 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.121 H 264.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #345299 |
|---|---|
| RGB | rgb(52, 82, 153) |
| HSL | hsl(222, 49%, 40%) |
| HSV | hsv(222, 66%, 60%) |
| CMYK | cmyk(66%, 46.4%, 0%, 40%) |
| CIE-LAB | lab(36.11, 12.86, -42.22) |
| CIE-LCH | lch(36.11, 44.13, 286.94°) |
| OKLab | oklab(45.36% -0.011 -0.1207) |
| OKLCH | oklch(45.36% 0.121 264.8) |
| XYZ | xyz(10.1812, 9.0636, 31.3437) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.31
Dusk Blue
#26538D
ΔE00 3.41
Cobalt (survey)
#1E488F
ΔE00 3.81
Sapphire
#0F52BA
ΔE00 4.61
Dusky Blue
#475F94
ΔE00 4.81
Cobalt
#0047AB
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345299 #997B34
analogous
#348499 #345299 #483499
triadic
#345299 #993452 #529934
tetradic
#345299 #993484 #997B34 #349948
square
#345299 #993484 #997B34 #349948
split-complementary
#345299 #994834 #849934
monochromatic
#15213E #243A6B #345299 #496DC1 #7791D1
Accessibility & contrast
On white
7.47
#345299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#345299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #345299
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345299 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5A9C
Deuteranopia (green-blind)
#1D5198
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #345299; /* rgb */ color: rgb(52, 82, 153); /* oklch */ color: oklch(45.4% 0.121 264.8);
Tailwind
colors: {
custom: {
50: '#7682b7',
500: '#345299',
950: '#000000',
},
}SCSS
$custom: #345299; $custom-light: #7682b7; $custom-dark: #000000;
JSON
{
"hex": "#345299",
"rgb": {
"r": 52,
"g": 82,
"b": 153
},
"hsl": {
"h": 222.178,
"s": 49.268,
"l": 40.196
},
"oklch": {
"l": 0.45362,
"c": 0.12117,
"h": 264.8
},
"luminance": 0.09065
}Semantic roles & 50–950 ramp
primary
#345299
secondary
#B9A370
accent
#B04FD9
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80