#3F26B5#3F26B5
#3F26B5 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 40.9% C 0.208 H 280.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3F26B5 |
|---|---|
| RGB | rgb(63, 38, 181) |
| HSL | hsl(250, 65%, 43%) |
| HSV | hsv(250, 79%, 71%) |
| CMYK | cmyk(65.2%, 79%, 0%, 29%) |
| CIE-LAB | lab(28.85, 50.96, -70.81) |
| CIE-LCH | lch(28.85, 87.24, 305.74°) |
| OKLab | oklab(40.94% 0.036 -0.2044) |
| OKLCH | oklch(40.94% 0.208 280) |
| XYZ | xyz(11.0808, 5.7783, 44.2385) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.54
Violet Blue
#510AC9
ΔE00 4.26
True Blue
#010FCC
ΔE00 4.76
Purple Blue
#5D21D0
ΔE00 5.29
Ultramarine Blue
#1805DB
ΔE00 5.38
Mediumblue
#0000CD
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F26B5 #9CB526
analogous
#2654B5 #3F26B5 #8726B5
triadic
#3F26B5 #B53F26 #26B53F
tetradic
#3F26B5 #B52654 #9CB526 #26B587
square
#3F26B5 #B52654 #9CB526 #26B587
split-complementary
#3F26B5 #B58726 #54B526
monochromatic
#1C1150 #2D1B82 #3F26B5 #5B41D7 #8774E2
Accessibility & contrast
On white
9.74
#3F26B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#3F26B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F26B5
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F26B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F26B5 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3f26b5; /* rgb */ color: rgb(63, 38, 181); /* oklch */ color: oklch(40.9% 0.208 280.0);
Tailwind
colors: {
custom: {
50: '#8465cd',
500: '#3f26b5',
950: '#000000',
},
}SCSS
$custom: #3f26b5; $custom-light: #8465cd; $custom-dark: #000000;
JSON
{
"hex": "#3f26b5",
"rgb": {
"r": 63,
"g": 38,
"b": 181
},
"hsl": {
"h": 250.49,
"s": 65.297,
"l": 42.941
},
"oklch": {
"l": 0.40935,
"c": 0.20757,
"h": 280
},
"luminance": 0.05779
}Semantic roles & 50–950 ramp
primary
#3F26B5
secondary
#B9C96E
accent
#E840CB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82