#3F3299#3F3299
#3F3299 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.160 H 282.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3F3299 |
|---|---|
| RGB | rgb(63, 50, 153) |
| HSL | hsl(248, 51%, 40%) |
| HSV | hsv(248, 67%, 60%) |
| CMYK | cmyk(58.8%, 67.3%, 0%, 40%) |
| CIE-LAB | lab(28.48, 35.66, -54.53) |
| CIE-LCH | lch(28.48, 65.15, 303.18°) |
| OKLab | oklab(39.86% 0.0334 -0.1569) |
| OKLCH | oklch(39.86% 0.16 282) |
| XYZ | xyz(8.9385, 5.6373, 30.7479) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.52
Darkslateblue
#483D8B
ΔE00 4.55
Sapphire (survey)
#2138AB
ΔE00 4.84
Ocean Blue
#4F42B5
ΔE00 6.00
Indigo Blue
#3A18B1
ΔE00 6.25
Rebeccapurple
#663399
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F3299 #8C9932
analogous
#325899 #3F3299 #733299
triadic
#3F3299 #993F32 #32993F
tetradic
#3F3299 #993258 #8C9932 #329973
square
#3F3299 #993258 #8C9932 #329973
split-complementary
#3F3299 #997332 #589932
monochromatic
#19143D #2C236B #3F3299 #5546C2 #8074D2
Accessibility & contrast
On white
9.87
#3F3299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#3F3299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F3299
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F3299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F3299 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#0A4C61
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3f3299; /* rgb */ color: rgb(63, 50, 153); /* oklch */ color: oklch(39.9% 0.160 282.0);
Tailwind
colors: {
custom: {
50: '#7e6bb8',
500: '#3f3299',
950: '#000000',
},
}SCSS
$custom: #3f3299; $custom-light: #7e6bb8; $custom-dark: #000000;
JSON
{
"hex": "#3f3299",
"rgb": {
"r": 63,
"g": 50,
"b": 153
},
"hsl": {
"h": 247.573,
"s": 50.739,
"l": 39.804
},
"oklch": {
"l": 0.39856,
"c": 0.16041,
"h": 282
},
"luminance": 0.05638
}Semantic roles & 50–950 ramp
primary
#3F3299
secondary
#B0BA6D
accent
#DA4EC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80