#3F409C#3F409C
#3F409C is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.146 H 277.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3F409C |
|---|---|
| RGB | rgb(63, 64, 156) |
| HSL | hsl(239, 42%, 43%) |
| HSV | hsv(239, 60%, 61%) |
| CMYK | cmyk(59.6%, 59%, 0%, 38.8%) |
| CIE-LAB | lab(32.09, 27.85, -50.48) |
| CIE-LCH | lch(32.09, 57.65, 298.88°) |
| OKLab | oklab(42.57% 0.0197 -0.1449) |
| OKLCH | oklch(42.57% 0.146 277.7) |
| XYZ | xyz(9.8821, 7.1231, 32.3002) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.69
Darkslateblue
#483D8B
ΔE00 3.74
Sapphire (survey)
#2138AB
ΔE00 4.34
Ocean Blue
#4F42B5
ΔE00 4.57
Blue Blue
#2242C7
ΔE00 6.40
Cobalt
#0047AB
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F409C #9C9B3F
analogous
#3F6E9C #3F409C #6C3F9C
triadic
#3F409C #9C3F40 #409C3F
tetradic
#3F409C #9C3F6E #9C9B3F #3F9C6C
square
#3F409C #9C3F6E #9C9B3F #3F9C6C
split-complementary
#3F409C #9C6C3F #6E9C3F
monochromatic
#1C1C45 #2D2E70 #3F409C #5B5CBD #8788CE
Accessibility & contrast
On white
8.66
#3F409C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#3F409C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F409C
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F409C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F409C | 1.00 | 8.66 | 2.42 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3f409c; /* rgb */ color: rgb(63, 64, 156); /* oklch */ color: oklch(42.6% 0.146 277.7);
Tailwind
colors: {
custom: {
50: '#7d75ba',
500: '#3f409c',
950: '#000000',
},
}SCSS
$custom: #3f409c; $custom-light: #7d75ba; $custom-dark: #000000;
JSON
{
"hex": "#3f409c",
"rgb": {
"r": 63,
"g": 64,
"b": 156
},
"hsl": {
"h": 239.355,
"s": 42.466,
"l": 42.941
},
"oklch": {
"l": 0.42574,
"c": 0.14626,
"h": 277.7
},
"luminance": 0.07124
}Semantic roles & 50–950 ramp
primary
#3F409C
secondary
#B9B87E
accent
#D156D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81