#3F5CC2#3F5CC2
#3F5CC2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.163 H 268.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5CC2 |
|---|---|
| RGB | rgb(63, 92, 194) |
| HSL | hsl(227, 52%, 50%) |
| HSV | hsv(227, 68%, 76%) |
| CMYK | cmyk(67.5%, 52.6%, 0%, 23.9%) |
| CIE-LAB | lab(42.16, 23.13, -56.69) |
| CIE-LCH | lch(42.16, 61.23, 292.19°) |
| OKLab | oklab(50.99% -0.0052 -0.1629) |
| OKLCH | oklch(50.99% 0.163 268.2) |
| XYZ | xyz(15.6113, 12.6046, 52.6387) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.70
Sapphire
#0F52BA
ΔE00 4.89
Azul
#1D5DEC
ΔE00 5.09
Denim
#1560BD
ΔE00 5.32
Royal Blue
#4169E1
ΔE00 5.90
French Blue
#436BAD
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5CC2 #C2A53F
analogous
#3F9DC2 #3F5CC2 #643FC2
triadic
#3F5CC2 #C23F5C #5CC23F
tetradic
#3F5CC2 #C23F9D #C2A53F #3FC264
square
#3F5CC2 #C23F9D #C2A53F #3FC264
split-complementary
#3F5CC2 #C2643F #9DC23F
monochromatic
#203066 #2F4695 #3F5CC2 #6D83D1 #9CABE0
Accessibility & contrast
On white
5.96
#3F5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#3F5CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5CC2
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5CC2 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196AC6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #3f5cc2; /* rgb */ color: rgb(63, 92, 194); /* oklch */ color: oklch(51.0% 0.163 268.2);
Tailwind
colors: {
custom: {
50: '#8389d5',
500: '#3f5cc2',
950: '#000000',
},
}SCSS
$custom: #3f5cc2; $custom-light: #8389d5; $custom-dark: #000000;
JSON
{
"hex": "#3f5cc2",
"rgb": {
"r": 63,
"g": 92,
"b": 194
},
"hsl": {
"h": 226.718,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.50993,
"c": 0.16295,
"h": 268.2
},
"luminance": 0.12606
}Semantic roles & 50–950 ramp
primary
#3F5CC2
secondary
#CCBF91
accent
#BC4DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83