#345199#345199
#345199 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.122 H 265.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #345199 |
|---|---|
| RGB | rgb(52, 81, 153) |
| HSL | hsl(223, 49%, 40%) |
| HSV | hsv(223, 66%, 60%) |
| CMYK | cmyk(66%, 47.1%, 0%, 40%) |
| CIE-LAB | lab(35.82, 13.52, -42.68) |
| CIE-LCH | lch(35.82, 44.77, 287.58°) |
| OKLab | oklab(45.14% -0.01 -0.122) |
| OKLCH | oklch(45.14% 0.122 265.3) |
| XYZ | xyz(10.1064, 8.9139, 31.3188) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 3.62
Cobalt (survey)
#1E488F
ΔE00 3.65
Denim Blue
#3B5B92
ΔE00 3.65
Cobalt
#0047AB
ΔE00 4.67
Sapphire
#0F52BA
ΔE00 4.69
Dusky Blue
#475F94
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#345199 #997C34
analogous
#348499 #345199 #493499
triadic
#345199 #993451 #519934
tetradic
#345199 #993484 #997C34 #349949
square
#345199 #993484 #997C34 #349949
split-complementary
#345199 #994934 #849934
monochromatic
#15213E #24396B #345199 #496CC1 #7791D1
Accessibility & contrast
On white
7.55
#345199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#345199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #345199
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##345199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##345199 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#1B5098
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #345199; /* rgb */ color: rgb(52, 81, 153); /* oklch */ color: oklch(45.1% 0.122 265.3);
Tailwind
colors: {
custom: {
50: '#7681b7',
500: '#345199',
950: '#000000',
},
}SCSS
$custom: #345199; $custom-light: #7681b7; $custom-dark: #000000;
JSON
{
"hex": "#345199",
"rgb": {
"r": 52,
"g": 81,
"b": 153
},
"hsl": {
"h": 222.772,
"s": 49.268,
"l": 40.196
},
"oklch": {
"l": 0.45141,
"c": 0.12245,
"h": 265.3
},
"luminance": 0.08915
}Semantic roles & 50–950 ramp
primary
#345199
secondary
#B9A470
accent
#B14FD9
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80