#3F5DC2#3F5DC2
#3F5DC2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.162 H 267.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5DC2 |
|---|---|
| RGB | rgb(63, 93, 194) |
| HSL | hsl(226, 52%, 50%) |
| HSV | hsv(226, 68%, 76%) |
| CMYK | cmyk(67.5%, 52.1%, 0%, 23.9%) |
| CIE-LAB | lab(42.43, 22.49, -56.26) |
| CIE-LCH | lch(42.43, 60.59, 291.79°) |
| OKLab | oklab(51.2% -0.0061 -0.1616) |
| OKLCH | oklch(51.2% 0.162 267.8) |
| XYZ | xyz(15.6985, 12.7790, 52.6678) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.88
Sapphire
#0F52BA
ΔE00 5.02
Azul
#1D5DEC
ΔE00 5.04
Denim
#1560BD
ΔE00 5.11
Royal Blue
#4169E1
ΔE00 5.66
French Blue
#436BAD
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5DC2 #C2A43F
analogous
#3F9EC2 #3F5DC2 #633FC2
triadic
#3F5DC2 #C23F5D #5DC23F
tetradic
#3F5DC2 #C23F9E #C2A43F #3FC263
square
#3F5DC2 #C23F9E #C2A43F #3FC263
split-complementary
#3F5DC2 #C2633F #9EC23F
monochromatic
#203066 #2F4695 #3F5DC2 #6D84D1 #9CABE0
Accessibility & contrast
On white
5.91
#3F5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#3F5DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5DC2
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5DC2 | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D6AC6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3f5dc2; /* rgb */ color: rgb(63, 93, 194); /* oklch */ color: oklch(51.2% 0.162 267.8);
Tailwind
colors: {
custom: {
50: '#838ad5',
500: '#3f5dc2',
950: '#000000',
},
}SCSS
$custom: #3f5dc2; $custom-light: #838ad5; $custom-dark: #000000;
JSON
{
"hex": "#3f5dc2",
"rgb": {
"r": 63,
"g": 93,
"b": 194
},
"hsl": {
"h": 226.26,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.51195,
"c": 0.1617,
"h": 267.8
},
"luminance": 0.12781
}Semantic roles & 50–950 ramp
primary
#3F5DC2
secondary
#CCBE91
accent
#BB4DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83