#3F5CC1#3F5CC1
#3F5CC1 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.162 H 268.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5CC1 |
|---|---|
| RGB | rgb(63, 92, 193) |
| HSL | hsl(227, 51%, 50%) |
| HSV | hsv(227, 67%, 76%) |
| CMYK | cmyk(67.4%, 52.3%, 0%, 24.3%) |
| CIE-LAB | lab(42.09, 22.77, -56.22) |
| CIE-LCH | lch(42.09, 60.66, 292.05°) |
| OKLab | oklab(50.92% -0.0053 -0.1615) |
| OKLCH | oklch(50.92% 0.162 268.1) |
| XYZ | xyz(15.4994, 12.5598, 52.0492) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.82
Sapphire
#0F52BA
ΔE00 4.84
Azul
#1D5DEC
ΔE00 5.20
Denim
#1560BD
ΔE00 5.26
Royal Blue
#4169E1
ΔE00 5.99
French Blue
#436BAD
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5CC1 #C1A43F
analogous
#3F9DC1 #3F5CC1 #633FC1
triadic
#3F5CC1 #C13F5C #5CC13F
tetradic
#3F5CC1 #C13F9D #C1A43F #3FC163
square
#3F5CC1 #C13F9D #C1A43F #3FC163
split-complementary
#3F5CC1 #C1633F #9DC13F
monochromatic
#213065 #304693 #3F5CC1 #6D83D0 #9CABDF
Accessibility & contrast
On white
5.98
#3F5CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#3F5CC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5CC1
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5CC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5CC1 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B6AC5
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #3f5cc1; /* rgb */ color: rgb(63, 92, 193); /* oklch */ color: oklch(50.9% 0.162 268.1);
Tailwind
colors: {
custom: {
50: '#8389d4',
500: '#3f5cc1',
950: '#000000',
},
}SCSS
$custom: #3f5cc1; $custom-light: #8389d4; $custom-dark: #000000;
JSON
{
"hex": "#3f5cc1",
"rgb": {
"r": 63,
"g": 92,
"b": 193
},
"hsl": {
"h": 226.615,
"s": 51.181,
"l": 50.196
},
"oklch": {
"l": 0.50919,
"c": 0.16158,
"h": 268.1
},
"luminance": 0.12561
}Semantic roles & 50–950 ramp
primary
#3F5CC1
secondary
#CBBE91
accent
#BB4DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83