#3F5CC9#3F5CC9
#3F5CC9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.173 H 268.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5CC9 |
|---|---|
| RGB | rgb(63, 92, 201) |
| HSL | hsl(227, 56%, 52%) |
| HSV | hsv(227, 69%, 79%) |
| CMYK | cmyk(68.7%, 54.2%, 0%, 21.2%) |
| CIE-LAB | lab(42.65, 25.64, -59.95) |
| CIE-LCH | lch(42.65, 65.20, 293.15°) |
| OKLab | oklab(51.52% -0.0047 -0.1725) |
| OKLCH | oklch(51.52% 0.173 268.5) |
| XYZ | xyz(16.4160, 12.9265, 56.8769) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.88
Azul
#1D5DEC
ΔE00 4.28
Royal Blue
#4169E1
ΔE00 5.35
Sapphire
#0F52BA
ΔE00 5.35
Denim
#1560BD
ΔE00 5.75
Iris
#6258C4
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5CC9 #C9AC3F
analogous
#3FA1C9 #3F5CC9 #673FC9
triadic
#3F5CC9 #C93F5C #5CC93F
tetradic
#3F5CC9 #C93FA1 #C9AC3F #3FC967
square
#3F5CC9 #C93FA1 #C9AC3F #3FC967
split-complementary
#3F5CC9 #C9673F #A1C93F
monochromatic
#1F306F #2D449E #3F5CC9 #6F85D6 #9FADE4
Accessibility & contrast
On white
5.86
#3F5CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#3F5CC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5CC9
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5CC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5CC9 | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#026BCD
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3f5cc9; /* rgb */ color: rgb(63, 92, 201); /* oklch */ color: oklch(51.5% 0.173 268.5);
Tailwind
colors: {
custom: {
50: '#8489da',
500: '#3f5cc9',
950: '#000000',
},
}SCSS
$custom: #3f5cc9; $custom-light: #8489da; $custom-dark: #000000;
JSON
{
"hex": "#3f5cc9",
"rgb": {
"r": 63,
"g": 92,
"b": 201
},
"hsl": {
"h": 227.391,
"s": 56.098,
"l": 51.765
},
"oklch": {
"l": 0.51519,
"c": 0.17252,
"h": 268.5
},
"luminance": 0.12928
}Semantic roles & 50–950 ramp
primary
#3F5CC9
secondary
#D0C394
accent
#C048DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83