#3F5FC3#3F5FC3
#3F5FC3 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.7% C 0.161 H 267.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5FC3 |
|---|---|
| RGB | rgb(63, 95, 195) |
| HSL | hsl(225, 52%, 51%) |
| HSV | hsv(225, 68%, 76%) |
| CMYK | cmyk(67.7%, 51.3%, 0%, 23.5%) |
| CIE-LAB | lab(43.03, 21.56, -55.86) |
| CIE-LCH | lch(43.03, 59.88, 291.11°) |
| OKLab | oklab(51.68% -0.0078 -0.1604) |
| OKLCH | oklch(51.68% 0.161 267.2) |
| XYZ | xyz(15.9890, 13.1798, 53.3205) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.80
Azul
#1D5DEC
ΔE00 4.89
Royal Blue
#4169E1
ΔE00 5.12
Warm Blue
#4B57DB
ΔE00 5.19
French Blue
#436BAD
ΔE00 5.25
Sapphire
#0F52BA
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5FC3 #C3A33F
analogous
#3FA1C3 #3F5FC3 #613FC3
triadic
#3F5FC3 #C33F5F #5FC33F
tetradic
#3F5FC3 #C33FA1 #C3A33F #3FC361
square
#3F5FC3 #C33FA1 #C3A33F #3FC361
split-complementary
#3F5FC3 #C3613F #A1C33F
monochromatic
#203267 #2F4896 #3F5FC3 #6E86D2 #9CADE0
Accessibility & contrast
On white
5.78
#3F5FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#3F5FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5FC3
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5FC3 | 1.00 | 5.78 | 3.64 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226CC7
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3f5fc3; /* rgb */ color: rgb(63, 95, 195); /* oklch */ color: oklch(51.7% 0.161 267.2);
Tailwind
colors: {
custom: {
50: '#838bd6',
500: '#3f5fc3',
950: '#000000',
},
}SCSS
$custom: #3f5fc3; $custom-light: #838bd6; $custom-dark: #000000;
JSON
{
"hex": "#3f5fc3",
"rgb": {
"r": 63,
"g": 95,
"b": 195
},
"hsl": {
"h": 225.455,
"s": 52.381,
"l": 50.588
},
"oklch": {
"l": 0.51675,
"c": 0.16058,
"h": 267.2
},
"luminance": 0.13181
}Semantic roles & 50–950 ramp
primary
#3F5FC3
secondary
#CCBE92
accent
#B94CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83