#343299#343299
#343299 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.163 H 276.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #343299 |
|---|---|
| RGB | rgb(52, 50, 153) |
| HSL | hsl(241, 51%, 40%) |
| HSV | hsv(241, 67%, 60%) |
| CMYK | cmyk(66%, 67.3%, 0%, 40%) |
| CIE-LAB | lab(27.60, 33.93, -56.00) |
| CIE-LCH | lch(27.60, 65.48, 301.21°) |
| OKLab | oklab(39% 0.0187 -0.1615) |
| OKLCH | oklch(39% 0.163 276.6) |
| XYZ | xyz(8.3047, 5.3105, 30.7182) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.65
Blueberry
#464196
ΔE00 4.86
Darkslateblue
#483D8B
ΔE00 5.22
Ocean Blue
#4F42B5
ΔE00 6.58
Indigo Blue
#3A18B1
ΔE00 6.60
Royal
#0C1793
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343299 #979932
analogous
#326499 #343299 #683299
triadic
#343299 #993432 #329934
tetradic
#343299 #993264 #979932 #329968
square
#343299 #993264 #979932 #329968
split-complementary
#343299 #996832 #649932
monochromatic
#15143D #24236B #343299 #4846C2 #7674D2
Accessibility & contrast
On white
10.18
#343299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#343299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343299
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343299 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #343299; /* rgb */ color: rgb(52, 50, 153); /* oklch */ color: oklch(39.0% 0.163 276.6);
Tailwind
colors: {
custom: {
50: '#786ab8',
500: '#343299',
950: '#000000',
},
}SCSS
$custom: #343299; $custom-light: #786ab8; $custom-dark: #000000;
JSON
{
"hex": "#343299",
"rgb": {
"r": 52,
"g": 50,
"b": 153
},
"hsl": {
"h": 241.165,
"s": 50.739,
"l": 39.804
},
"oklch": {
"l": 0.38999,
"c": 0.16261,
"h": 276.6
},
"luminance": 0.05311
}Semantic roles & 50–950 ramp
primary
#343299
secondary
#B8BA6D
accent
#DA4ED7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80