#3F2DAF#3F2DAF
#3F2DAF is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.2% C 0.194 H 279.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3F2DAF |
|---|---|
| RGB | rgb(63, 45, 175) |
| HSL | hsl(248, 59%, 43%) |
| HSV | hsv(248, 74%, 69%) |
| CMYK | cmyk(64%, 74.3%, 0%, 31.4%) |
| CIE-LAB | lab(29.48, 45.56, -66.18) |
| CIE-LCH | lch(29.48, 80.34, 304.54°) |
| OKLab | oklab(41.2% 0.0334 -0.191) |
| OKLCH | oklch(41.2% 0.194 279.9) |
| XYZ | xyz(10.7237, 6.0278, 41.1475) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.87
Sapphire (survey)
#2138AB
ΔE00 4.95
Blue With A Hint Of Purple
#533CC6
ΔE00 5.47
Ocean Blue
#4F42B5
ΔE00 5.59
Violet Blue
#510AC9
ΔE00 5.70
Blurple
#5539CC
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F2DAF #9DAF2D
analogous
#2D5CAF #3F2DAF #802DAF
triadic
#3F2DAF #AF3F2D #2DAF3F
tetradic
#3F2DAF #AF2D5C #9DAF2D #2DAF80
square
#3F2DAF #AF2D5C #9DAF2D #2DAF80
split-complementary
#3F2DAF #AF802D #5CAF2D
monochromatic
#1C144E #2D207E #3F2DAF #5C49D0 #877ADD
Accessibility & contrast
On white
9.52
#3F2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#3F2DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F2DAF
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F2DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F2DAF | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #3f2daf; /* rgb */ color: rgb(63, 45, 175); /* oklch */ color: oklch(41.2% 0.194 279.9);
Tailwind
colors: {
custom: {
50: '#8268c8',
500: '#3f2daf',
950: '#000000',
},
}SCSS
$custom: #3f2daf; $custom-light: #8268c8; $custom-dark: #000000;
JSON
{
"hex": "#3f2daf",
"rgb": {
"r": 63,
"g": 45,
"b": 175
},
"hsl": {
"h": 248.308,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.41198,
"c": 0.19387,
"h": 279.9
},
"luminance": 0.06029
}Semantic roles & 50–950 ramp
primary
#3F2DAF
secondary
#BAC573
accent
#E246CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82