#3F3FB2#3F3FB2
#3F3FB2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.3% C 0.177 H 276.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3F3FB2 |
|---|---|
| RGB | rgb(63, 63, 178) |
| HSL | hsl(240, 48%, 47%) |
| HSV | hsv(240, 65%, 70%) |
| CMYK | cmyk(64.6%, 64.6%, 0%, 30.2%) |
| CIE-LAB | lab(33.62, 36.00, -61.19) |
| CIE-LCH | lch(33.62, 70.99, 300.47°) |
| OKLab | oklab(44.25% 0.0196 -0.1764) |
| OKLCH | oklch(44.25% 0.177 276.3) |
| XYZ | xyz(11.8607, 7.8251, 42.9962) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.44
Sapphire (survey)
#2138AB
ΔE00 3.66
Blue Blue
#2242C7
ΔE00 3.78
Blue With A Hint Of Purple
#533CC6
ΔE00 4.27
Blueberry
#464196
ΔE00 4.61
Blurple
#5539CC
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F3FB2 #B2B23F
analogous
#3F79B2 #3F3FB2 #793FB2
triadic
#3F3FB2 #B23F3F #3FB23F
tetradic
#3F3FB2 #B23F79 #B2B23F #3FB279
square
#3F3FB2 #B23F79 #B2B23F #3FB279
split-complementary
#3F3FB2 #B2793F #79B23F
monochromatic
#1F1F58 #2F2F85 #3F3FB2 #6666C9 #9393D9
Accessibility & contrast
On white
8.19
#3F3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#3F3FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F3FB2
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F3FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F3FB2 | 1.00 | 8.19 | 2.57 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3f3fb2; /* rgb */ color: rgb(63, 63, 178); /* oklch */ color: oklch(44.3% 0.177 276.3);
Tailwind
colors: {
custom: {
50: '#8274ca',
500: '#3f3fb2',
950: '#000000',
},
}SCSS
$custom: #3f3fb2; $custom-light: #8274ca; $custom-dark: #000000;
JSON
{
"hex": "#3f3fb2",
"rgb": {
"r": 63,
"g": 63,
"b": 178
},
"hsl": {
"h": 240,
"s": 47.718,
"l": 47.255
},
"oklch": {
"l": 0.44254,
"c": 0.17747,
"h": 276.3
},
"luminance": 0.07826
}Semantic roles & 50–950 ramp
primary
#3F3FB2
secondary
#C4C489
accent
#D750D7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82