#3F5EC1#3F5EC1
#3F5EC1 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.159 H 267.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5EC1 |
|---|---|
| RGB | rgb(63, 94, 193) |
| HSL | hsl(226, 51%, 50%) |
| HSV | hsv(226, 67%, 76%) |
| CMYK | cmyk(67.4%, 51.3%, 0%, 24.3%) |
| CIE-LAB | lab(42.63, 21.48, -55.35) |
| CIE-LCH | lch(42.63, 59.38, 291.21°) |
| OKLab | oklab(51.33% -0.0071 -0.1589) |
| OKLCH | oklch(51.33% 0.159 267.5) |
| XYZ | xyz(15.6749, 12.9109, 52.1077) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.86
Sapphire
#0F52BA
ΔE00 5.13
Azul
#1D5DEC
ΔE00 5.13
Warm Blue
#4B57DB
ΔE00 5.20
French Blue
#436BAD
ΔE00 5.44
Royal Blue
#4169E1
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5EC1 #C1A23F
analogous
#3F9FC1 #3F5EC1 #613FC1
triadic
#3F5EC1 #C13F5E #5EC13F
tetradic
#3F5EC1 #C13F9F #C1A23F #3FC161
square
#3F5EC1 #C13F9F #C1A23F #3FC161
split-complementary
#3F5EC1 #C1613F #9FC13F
monochromatic
#213165 #304793 #3F5EC1 #6D85D0 #9CACDF
Accessibility & contrast
On white
5.86
#3F5EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#3F5EC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5EC1
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5EC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5EC1 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226BC5
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3f5ec1; /* rgb */ color: rgb(63, 94, 193); /* oklch */ color: oklch(51.3% 0.159 267.5);
Tailwind
colors: {
custom: {
50: '#828bd4',
500: '#3f5ec1',
950: '#000000',
},
}SCSS
$custom: #3f5ec1; $custom-light: #828bd4; $custom-dark: #000000;
JSON
{
"hex": "#3f5ec1",
"rgb": {
"r": 63,
"g": 94,
"b": 193
},
"hsl": {
"h": 225.692,
"s": 51.181,
"l": 50.196
},
"oklch": {
"l": 0.51325,
"c": 0.15907,
"h": 267.5
},
"luminance": 0.12912
}Semantic roles & 50–950 ramp
primary
#3F5EC1
secondary
#CBBD91
accent
#B94DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83