#3F18B4#3F18B4
#3F18B4 is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.5% C 0.217 H 281.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3F18B4 |
|---|---|
| RGB | rgb(63, 24, 180) |
| HSL | hsl(255, 76%, 40%) |
| HSV | hsv(255, 87%, 71%) |
| CMYK | cmyk(65%, 86.7%, 0%, 29.4%) |
| CIE-LAB | lab(26.75, 56.51, -73.69) |
| CIE-LCH | lch(26.75, 92.86, 307.48°) |
| OKLab | oklab(39.46% 0.0427 -0.2126) |
| OKLCH | oklch(39.46% 0.217 281.3) |
| XYZ | xyz(10.6122, 5.0045, 43.5779) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 0.71
Violet Blue
#510AC9
ΔE00 3.48
Ultramarine
#2000B1
ΔE00 3.84
True Blue
#010FCC
ΔE00 3.94
Mediumblue
#0000CD
ΔE00 4.24
Ultramarine Blue
#1805DB
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F18B4 #8DB418
analogous
#183FB4 #3F18B4 #8D18B4
triadic
#3F18B4 #B43F18 #18B43F
tetradic
#3F18B4 #B4183F #8DB418 #18B48D
square
#3F18B4 #B4183F #8DB418 #18B48D
split-complementary
#3F18B4 #B48D18 #3FB418
monochromatic
#190A48 #2C117E #3F18B4 #5627E2 #805DE9
Accessibility & contrast
On white
10.49
#3F18B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3F18B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F18B4
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F18B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F18B4 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3f18b4; /* rgb */ color: rgb(63, 24, 180); /* oklch */ color: oklch(39.5% 0.217 281.3);
Tailwind
colors: {
custom: {
50: '#855ecc',
500: '#3f18b4',
950: '#000000',
},
}SCSS
$custom: #3f18b4; $custom-light: #855ecc; $custom-dark: #000000;
JSON
{
"hex": "#3f18b4",
"rgb": {
"r": 63,
"g": 24,
"b": 180
},
"hsl": {
"h": 255,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.39458,
"c": 0.21682,
"h": 281.3
},
"luminance": 0.05005
}Semantic roles & 50–950 ramp
primary
#3F18B4
secondary
#B1CD5B
accent
#F335C3
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0D0514
muted
#7D7982