#3F5DC0#3F5DC0
#3F5DC0 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.159 H 267.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5DC0 |
|---|---|
| RGB | rgb(63, 93, 192) |
| HSL | hsl(226, 51%, 50%) |
| HSV | hsv(226, 67%, 75%) |
| CMYK | cmyk(67.2%, 51.6%, 0%, 24.7%) |
| CIE-LAB | lab(42.29, 21.77, -55.32) |
| CIE-LCH | lch(42.29, 59.45, 291.48°) |
| OKLab | oklab(51.05% -0.0063 -0.1588) |
| OKLCH | oklch(51.05% 0.159 267.7) |
| XYZ | xyz(15.4754, 12.6898, 51.4928) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.93
Denim
#1560BD
ΔE00 5.00
Warm Blue
#4B57DB
ΔE00 5.12
Azul
#1D5DEC
ΔE00 5.28
French Blue
#436BAD
ΔE00 5.70
Royal Blue
#4169E1
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5DC0 #C0A23F
analogous
#3F9DC0 #3F5DC0 #623FC0
triadic
#3F5DC0 #C03F5D #5DC03F
tetradic
#3F5DC0 #C03F9D #C0A23F #3FC062
square
#3F5DC0 #C03F9D #C0A23F #3FC062
split-complementary
#3F5DC0 #C0623F #9DC03F
monochromatic
#213064 #304792 #3F5DC0 #6D84CF #9BABDE
Accessibility & contrast
On white
5.94
#3F5DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#3F5DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5DC0
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5DC0 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#206AC4
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3f5dc0; /* rgb */ color: rgb(63, 93, 192); /* oklch */ color: oklch(51.0% 0.159 267.7);
Tailwind
colors: {
custom: {
50: '#828ad4',
500: '#3f5dc0',
950: '#000000',
},
}SCSS
$custom: #3f5dc0; $custom-light: #828ad4; $custom-dark: #000000;
JSON
{
"hex": "#3f5dc0",
"rgb": {
"r": 63,
"g": 93,
"b": 192
},
"hsl": {
"h": 226.047,
"s": 50.588,
"l": 50
},
"oklch": {
"l": 0.51048,
"c": 0.15894,
"h": 267.7
},
"luminance": 0.12691
}Semantic roles & 50–950 ramp
primary
#3F5DC0
secondary
#CABD91
accent
#B94EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83