#343398#343398
#343398 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.160 H 276.5°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #343398 |
|---|---|
| RGB | rgb(52, 51, 152) |
| HSL | hsl(241, 50%, 40%) |
| HSV | hsv(241, 66%, 60%) |
| CMYK | cmyk(65.8%, 66.4%, 0%, 40.4%) |
| CIE-LAB | lab(27.75, 32.95, -55.15) |
| CIE-LCH | lch(27.75, 64.24, 300.86°) |
| OKLab | oklab(39.08% 0.018 -0.159) |
| OKLCH | oklch(39.08% 0.16 276.5) |
| XYZ | xyz(8.2656, 5.3640, 30.2995) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.61
Blueberry
#464196
ΔE00 4.60
Darkslateblue
#483D8B
ΔE00 4.99
Ocean Blue
#4F42B5
ΔE00 6.55
Indigo Blue
#3A18B1
ΔE00 6.95
Royal
#0C1793
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343398 #979833
analogous
#336598 #343398 #673398
triadic
#343398 #983433 #339834
tetradic
#343398 #983365 #979833 #339867
square
#343398 #983365 #979833 #339867
split-complementary
#343398 #986733 #659833
monochromatic
#15143C #24246A #343398 #4847C1 #7675D1
Accessibility & contrast
On white
10.13
#343398 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#343398 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343398
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343398 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #343398; /* rgb */ color: rgb(52, 51, 152); /* oklch */ color: oklch(39.1% 0.160 276.5);
Tailwind
colors: {
custom: {
50: '#786bb7',
500: '#343398',
950: '#000000',
},
}SCSS
$custom: #343398; $custom-light: #786bb7; $custom-dark: #000000;
JSON
{
"hex": "#343398",
"rgb": {
"r": 52,
"g": 51,
"b": 152
},
"hsl": {
"h": 240.594,
"s": 49.754,
"l": 39.804
},
"oklch": {
"l": 0.39077,
"c": 0.16005,
"h": 276.5
},
"luminance": 0.05365
}Semantic roles & 50–950 ramp
primary
#343398
secondary
#B8B96E
accent
#D94FD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80