#3F5DC4#3F5DC4
#3F5DC4 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.164 H 267.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5DC4 |
|---|---|
| RGB | rgb(63, 93, 196) |
| HSL | hsl(226, 53%, 51%) |
| HSV | hsv(226, 68%, 77%) |
| CMYK | cmyk(67.9%, 52.6%, 0%, 23.1%) |
| CIE-LAB | lab(42.57, 23.20, -57.20) |
| CIE-LCH | lch(42.57, 61.72, 292.08°) |
| OKLab | oklab(51.34% -0.0059 -0.1643) |
| OKLCH | oklch(51.34% 0.164 267.9) |
| XYZ | xyz(15.9246, 12.8694, 53.8587) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.65
Azul
#1D5DEC
ΔE00 4.80
Sapphire
#0F52BA
ΔE00 5.14
Denim
#1560BD
ΔE00 5.22
Royal Blue
#4169E1
ΔE00 5.49
French Blue
#436BAD
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5DC4 #C4A63F
analogous
#3F9FC4 #3F5DC4 #633FC4
triadic
#3F5DC4 #C43F5D #5DC43F
tetradic
#3F5DC4 #C43F9F #C4A63F #3FC463
square
#3F5DC4 #C43F9F #C4A63F #3FC463
split-complementary
#3F5DC4 #C4633F #9FC43F
monochromatic
#203068 #2E4697 #3F5DC4 #6E84D2 #9DACE1
Accessibility & contrast
On white
5.88
#3F5DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#3F5DC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5DC4
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5DC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5DC4 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196BC8
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3f5dc4; /* rgb */ color: rgb(63, 93, 196); /* oklch */ color: oklch(51.3% 0.164 267.9);
Tailwind
colors: {
custom: {
50: '#838ad7',
500: '#3f5dc4',
950: '#000000',
},
}SCSS
$custom: #3f5dc4; $custom-light: #838ad7; $custom-dark: #000000;
JSON
{
"hex": "#3f5dc4",
"rgb": {
"r": 63,
"g": 93,
"b": 196
},
"hsl": {
"h": 226.466,
"s": 52.988,
"l": 50.784
},
"oklch": {
"l": 0.51343,
"c": 0.16445,
"h": 267.9
},
"luminance": 0.12871
}Semantic roles & 50–950 ramp
primary
#3F5DC4
secondary
#CDC092
accent
#BC4BDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83