#34339F#34339F
#34339F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.169 H 275.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #34339F |
|---|---|
| RGB | rgb(52, 51, 159) |
| HSL | hsl(241, 51%, 41%) |
| HSV | hsv(241, 68%, 62%) |
| CMYK | cmyk(67.3%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(28.38, 35.38, -58.38) |
| CIE-LCH | lch(28.38, 68.26, 301.22°) |
| OKLab | oklab(39.73% 0.0173 -0.1685) |
| OKLCH | oklch(39.73% 0.169 275.8) |
| XYZ | xyz(8.8560, 5.6001, 33.4084) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.00
Blueberry
#464196
ΔE00 4.91
Darkslateblue
#483D8B
ΔE00 5.61
Ocean Blue
#4F42B5
ΔE00 5.95
Indigo Blue
#3A18B1
ΔE00 6.33
Blue Blue
#2242C7
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#34339F #9E9F33
analogous
#33689F #34339F #6A339F
triadic
#34339F #9F3433 #339F34
tetradic
#34339F #9F3368 #9E9F33 #339F6A
square
#34339F #9F3368 #9E9F33 #339F6A
split-complementary
#34339F #9F6A33 #689F33
monochromatic
#161542 #252471 #34339F #4B4AC5 #7979D4
Accessibility & contrast
On white
9.90
#34339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#34339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #34339F
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##34339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##34339F | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #34339f; /* rgb */ color: rgb(52, 51, 159); /* oklch */ color: oklch(39.7% 0.169 275.8);
Tailwind
colors: {
custom: {
50: '#7a6bbc',
500: '#34339f',
950: '#000000',
},
}SCSS
$custom: #34339f; $custom-light: #7a6bbc; $custom-dark: #000000;
JSON
{
"hex": "#34339f",
"rgb": {
"r": 52,
"g": 51,
"b": 159
},
"hsl": {
"h": 240.556,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.39731,
"c": 0.16938,
"h": 275.8
},
"luminance": 0.05601
}Semantic roles & 50–950 ramp
primary
#34339F
secondary
#BCBC71
accent
#DB4DDA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81