#3F5CC5#3F5CC5
#3F5CC5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.167 H 268.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5CC5 |
|---|---|
| RGB | rgb(63, 92, 197) |
| HSL | hsl(227, 54%, 51%) |
| HSV | hsv(227, 68%, 77%) |
| CMYK | cmyk(68%, 53.3%, 0%, 22.7%) |
| CIE-LAB | lab(42.37, 24.20, -58.09) |
| CIE-LCH | lch(42.37, 62.93, 292.62°) |
| OKLab | oklab(51.22% -0.0049 -0.167) |
| OKLCH | oklch(51.22% 0.167 268.3) |
| XYZ | xyz(15.9516, 12.7407, 54.4310) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.34
Azul
#1D5DEC
ΔE00 4.73
Sapphire
#0F52BA
ΔE00 5.07
Denim
#1560BD
ΔE00 5.49
Royal Blue
#4169E1
ΔE00 5.65
French Blue
#436BAD
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5CC5 #C5A83F
analogous
#3F9FC5 #3F5CC5 #653FC5
triadic
#3F5CC5 #C53F5C #5CC53F
tetradic
#3F5CC5 #C53F9F #C5A83F #3FC565
square
#3F5CC5 #C53F9F #C5A83F #3FC565
split-complementary
#3F5CC5 #C5653F #9FC53F
monochromatic
#20306A #2E4599 #3F5CC5 #6E84D3 #9DACE1
Accessibility & contrast
On white
5.92
#3F5CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#3F5CC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5CC5
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5CC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5CC5 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#126AC9
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3f5cc5; /* rgb */ color: rgb(63, 92, 197); /* oklch */ color: oklch(51.2% 0.167 268.3);
Tailwind
colors: {
custom: {
50: '#8389d7',
500: '#3f5cc5',
950: '#000000',
},
}SCSS
$custom: #3f5cc5; $custom-light: #8389d7; $custom-dark: #000000;
JSON
{
"hex": "#3f5cc5",
"rgb": {
"r": 63,
"g": 92,
"b": 197
},
"hsl": {
"h": 227.015,
"s": 53.6,
"l": 50.98
},
"oklch": {
"l": 0.51217,
"c": 0.16707,
"h": 268.3
},
"luminance": 0.12742
}Semantic roles & 50–950 ramp
primary
#3F5CC5
secondary
#CEC192
accent
#BD4BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83