#341F9F#341F9F
#341F9F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.9% C 0.190 H 279.0°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #341F9F |
|---|---|
| RGB | rgb(52, 31, 159) |
| HSL | hsl(250, 67%, 37%) |
| HSV | hsv(250, 81%, 62%) |
| CMYK | cmyk(67.3%, 80.5%, 0%, 37.6%) |
| CIE-LAB | lab(24.36, 46.62, -64.99) |
| CIE-LCH | lch(24.36, 79.98, 305.65°) |
| OKLab | oklab(36.88% 0.0299 -0.1877) |
| OKLCH | oklch(36.88% 0.19 279) |
| XYZ | xyz(8.1622, 4.2126, 33.1771) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.72
Royal
#0C1793
ΔE00 3.97
Cobalt Blue
#030AA7
ΔE00 4.22
Ultramarine
#2000B1
ΔE00 4.35
Royal Blue (survey)
#0504AA
ΔE00 4.57
True Blue
#010FCC
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#341F9F #8A9F1F
analogous
#1F4A9F #341F9F #741F9F
triadic
#341F9F #9F341F #1F9F34
tetradic
#341F9F #9F1F4A #8A9F1F #1F9F74
square
#341F9F #9F1F4A #8A9F1F #1F9F74
split-complementary
#341F9F #9F741F #4A9F1F
monochromatic
#130B39 #23156C #341F9F #4529D2 #6F5ADF
Accessibility & contrast
On white
11.40
#341F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#341F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #341F9F
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##341F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##341F9F | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #341f9f; /* rgb */ color: rgb(52, 31, 159); /* oklch */ color: oklch(36.9% 0.190 279.0);
Tailwind
colors: {
custom: {
50: '#7b5fbd',
500: '#341f9f',
950: '#000000',
},
}SCSS
$custom: #341f9f; $custom-light: #7b5fbd; $custom-dark: #000000;
JSON
{
"hex": "#341f9f",
"rgb": {
"r": 52,
"g": 31,
"b": 159
},
"hsl": {
"h": 249.844,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.36877,
"c": 0.19005,
"h": 279
},
"luminance": 0.04213
}Semantic roles & 50–950 ramp
primary
#341F9F
secondary
#B1C357
accent
#EA3ECE
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981