#3F4097#3F4097
#3F4097 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.139 H 278.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4097 |
|---|---|
| RGB | rgb(63, 64, 151) |
| HSL | hsl(239, 41%, 42%) |
| HSV | hsv(239, 58%, 59%) |
| CMYK | cmyk(58.3%, 57.6%, 0%, 40.8%) |
| CIE-LAB | lab(31.71, 26.13, -48.05) |
| CIE-LCH | lch(31.71, 54.70, 298.54°) |
| OKLab | oklab(42.18% 0.0197 -0.1378) |
| OKLCH | oklch(42.18% 0.139 278.1) |
| XYZ | xyz(9.4674, 6.9573, 30.1162) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.31
Darkslateblue
#483D8B
ΔE00 3.17
Sapphire (survey)
#2138AB
ΔE00 4.88
Ocean Blue
#4F42B5
ΔE00 5.26
Twilight
#4E518B
ΔE00 6.80
Blue Blue
#2242C7
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4097 #97963F
analogous
#3F6C97 #3F4097 #6A3F97
triadic
#3F4097 #973F40 #40973F
tetradic
#3F4097 #973F6C #97963F #3F976A
square
#3F4097 #973F6C #97963F #3F976A
split-complementary
#3F4097 #976A3F #6C973F
monochromatic
#1B1B41 #2D2E6C #3F4097 #595ABA #8585CC
Accessibility & contrast
On white
8.78
#3F4097 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#3F4097 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4097
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4097 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#0A5465
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3f4097; /* rgb */ color: rgb(63, 64, 151); /* oklch */ color: oklch(42.2% 0.139 278.1);
Tailwind
colors: {
custom: {
50: '#7c75b6',
500: '#3f4097',
950: '#000000',
},
}SCSS
$custom: #3f4097; $custom-light: #7c75b6; $custom-dark: #000000;
JSON
{
"hex": "#3f4097",
"rgb": {
"r": 63,
"g": 64,
"b": 151
},
"hsl": {
"h": 239.318,
"s": 41.121,
"l": 41.961
},
"oklch": {
"l": 0.42176,
"c": 0.13918,
"h": 278.1
},
"luminance": 0.06958
}Semantic roles & 50–950 ramp
primary
#3F4097
secondary
#B6B67C
accent
#D057D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80