#343399#343399
#343399 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.161 H 276.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #343399 |
|---|---|
| RGB | rgb(52, 51, 153) |
| HSL | hsl(241, 50%, 40%) |
| HSV | hsv(241, 67%, 60%) |
| CMYK | cmyk(66%, 66.7%, 0%, 40%) |
| CIE-LAB | lab(27.84, 33.30, -55.61) |
| CIE-LCH | lch(27.84, 64.82, 300.91°) |
| OKLab | oklab(39.17% 0.0179 -0.1604) |
| OKLCH | oklch(39.17% 0.161 276.4) |
| XYZ | xyz(8.3479, 5.3969, 30.7326) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.51
Blueberry
#464196
ΔE00 4.63
Darkslateblue
#483D8B
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 6.46
Indigo Blue
#3A18B1
ΔE00 6.85
Royal
#0C1793
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#343399 #989933
analogous
#336599 #343399 #673399
triadic
#343399 #993433 #339934
tetradic
#343399 #993365 #989933 #339967
square
#343399 #993365 #989933 #339967
split-complementary
#343399 #996733 #659933
monochromatic
#15143D #24246B #343399 #4947C2 #7675D1
Accessibility & contrast
On white
10.10
#343399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#343399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #343399
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##343399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##343399 | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #343399; /* rgb */ color: rgb(52, 51, 153); /* oklch */ color: oklch(39.2% 0.161 276.4);
Tailwind
colors: {
custom: {
50: '#786bb8',
500: '#343399',
950: '#000000',
},
}SCSS
$custom: #343399; $custom-light: #786bb8; $custom-dark: #000000;
JSON
{
"hex": "#343399",
"rgb": {
"r": 52,
"g": 51,
"b": 153
},
"hsl": {
"h": 240.588,
"s": 50,
"l": 40
},
"oklch": {
"l": 0.39169,
"c": 0.1614,
"h": 276.4
},
"luminance": 0.05398
}Semantic roles & 50–950 ramp
primary
#343399
secondary
#B9B96E
accent
#DA4ED8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80