#3F409B#3F409B
#3F409B is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.145 H 277.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3F409B |
|---|---|
| RGB | rgb(63, 64, 155) |
| HSL | hsl(239, 42%, 43%) |
| HSV | hsv(239, 59%, 61%) |
| CMYK | cmyk(59.4%, 58.7%, 0%, 39.2%) |
| CIE-LAB | lab(32.01, 27.50, -50.00) |
| CIE-LCH | lch(32.01, 57.06, 298.81°) |
| OKLab | oklab(42.49% 0.0197 -0.1435) |
| OKLCH | oklch(42.49% 0.145 277.8) |
| XYZ | xyz(9.7978, 7.0894, 31.8561) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.59
Darkslateblue
#483D8B
ΔE00 3.62
Sapphire (survey)
#2138AB
ΔE00 4.44
Ocean Blue
#4F42B5
ΔE00 4.70
Blue Blue
#2242C7
ΔE00 6.54
Cobalt
#0047AB
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F409B #9B9A3F
analogous
#3F6E9B #3F409B #6C3F9B
triadic
#3F409B #9B3F40 #409B3F
tetradic
#3F409B #9B3F6E #9B9A3F #3F9B6C
square
#3F409B #9B3F6E #9B9A3F #3F9B6C
split-complementary
#3F409B #9B6C3F #6E9B3F
monochromatic
#1C1C44 #2D2E6F #3F409B #5B5CBC #8687CE
Accessibility & contrast
On white
8.68
#3F409B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#3F409B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F409B
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F409B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F409B | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3f409b; /* rgb */ color: rgb(63, 64, 155); /* oklch */ color: oklch(42.5% 0.145 277.8);
Tailwind
colors: {
custom: {
50: '#7d75b9',
500: '#3f409b',
950: '#000000',
},
}SCSS
$custom: #3f409b; $custom-light: #7d75b9; $custom-dark: #000000;
JSON
{
"hex": "#3f409b",
"rgb": {
"r": 63,
"g": 64,
"b": 155
},
"hsl": {
"h": 239.348,
"s": 42.202,
"l": 42.745
},
"oklch": {
"l": 0.42494,
"c": 0.14485,
"h": 277.8
},
"luminance": 0.0709
}Semantic roles & 50–950 ramp
primary
#3F409B
secondary
#B8B87D
accent
#D156D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80