#3F5CC6#3F5CC6
#3F5CC6 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.168 H 268.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5CC6 |
|---|---|
| RGB | rgb(63, 92, 198) |
| HSL | hsl(227, 54%, 51%) |
| HSV | hsv(227, 68%, 78%) |
| CMYK | cmyk(68.2%, 53.5%, 0%, 22.4%) |
| CIE-LAB | lab(42.44, 24.56, -58.56) |
| CIE-LCH | lch(42.44, 63.50, 292.76°) |
| OKLab | oklab(51.29% -0.0049 -0.1684) |
| OKLCH | oklch(51.29% 0.168 268.3) |
| XYZ | xyz(16.0666, 12.7867, 55.0365) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.22
Azul
#1D5DEC
ΔE00 4.62
Sapphire
#0F52BA
ΔE00 5.14
Denim
#1560BD
ΔE00 5.55
Royal Blue
#4169E1
ΔE00 5.57
Iris
#6258C4
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5CC6 #C6A93F
analogous
#3F9FC6 #3F5CC6 #653FC6
triadic
#3F5CC6 #C63F5C #5CC63F
tetradic
#3F5CC6 #C63F9F #C6A93F #3FC665
square
#3F5CC6 #C63F9F #C6A93F #3FC665
split-complementary
#3F5CC6 #C6653F #9FC63F
monochromatic
#20306B #2E459A #3F5CC6 #6E84D4 #9DACE2
Accessibility & contrast
On white
5.90
#3F5CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#3F5CC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5CC6
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5CC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5CC6 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E6BCA
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3f5cc6; /* rgb */ color: rgb(63, 92, 198); /* oklch */ color: oklch(51.3% 0.168 268.3);
Tailwind
colors: {
custom: {
50: '#8489d8',
500: '#3f5cc6',
950: '#000000',
},
}SCSS
$custom: #3f5cc6; $custom-light: #8489d8; $custom-dark: #000000;
JSON
{
"hex": "#3f5cc6",
"rgb": {
"r": 63,
"g": 92,
"b": 198
},
"hsl": {
"h": 227.111,
"s": 54.217,
"l": 51.176
},
"oklch": {
"l": 0.51292,
"c": 0.16844,
"h": 268.3
},
"luminance": 0.12788
}Semantic roles & 50–950 ramp
primary
#3F5CC6
secondary
#CEC193
accent
#BE4ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83