#3F3F99#3F3F99
#3F3F99 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.143 H 278.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3F3F99 |
|---|---|
| RGB | rgb(63, 63, 153) |
| HSL | hsl(240, 42%, 42%) |
| HSV | hsv(240, 59%, 60%) |
| CMYK | cmyk(58.8%, 58.8%, 0%, 40%) |
| CIE-LAB | lab(31.60, 27.47, -49.44) |
| CIE-LCH | lch(31.60, 56.56, 299.05°) |
| OKLab | oklab(42.15% 0.0207 -0.1419) |
| OKLCH | oklch(42.15% 0.143 278.3) |
| XYZ | xyz(9.5753, 6.9110, 30.9602) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.45
Darkslateblue
#483D8B
ΔE00 3.29
Sapphire (survey)
#2138AB
ΔE00 4.53
Ocean Blue
#4F42B5
ΔE00 4.94
Blue Blue
#2242C7
ΔE00 6.87
Cobalt
#0047AB
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F3F99 #99993F
analogous
#3F6C99 #3F3F99 #6C3F99
triadic
#3F3F99 #993F3F #3F993F
tetradic
#3F3F99 #993F6C #99993F #3F996C
square
#3F3F99 #993F6C #99993F #3F996C
split-complementary
#3F3F99 #996C3F #6C993F
monochromatic
#1B1B42 #2D2D6E #3F3F99 #5A5ABB #8585CD
Accessibility & contrast
On white
8.81
#3F3F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#3F3F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F3F99
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F3F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F3F99 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#055465
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #3f3f99; /* rgb */ color: rgb(63, 63, 153); /* oklch */ color: oklch(42.1% 0.143 278.3);
Tailwind
colors: {
custom: {
50: '#7d74b8',
500: '#3f3f99',
950: '#000000',
},
}SCSS
$custom: #3f3f99; $custom-light: #7d74b8; $custom-dark: #000000;
JSON
{
"hex": "#3f3f99",
"rgb": {
"r": 63,
"g": 63,
"b": 153
},
"hsl": {
"h": 240,
"s": 41.667,
"l": 42.353
},
"oklch": {
"l": 0.42145,
"c": 0.14338,
"h": 278.3
},
"luminance": 0.06912
}Semantic roles & 50–950 ramp
primary
#3F3F99
secondary
#B7B77C
accent
#D156D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80