#3F5FCA#3F5FCA
#3F5FCA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.170 H 267.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5FCA |
|---|---|
| RGB | rgb(63, 95, 202) |
| HSL | hsl(226, 57%, 52%) |
| HSV | hsv(226, 69%, 79%) |
| CMYK | cmyk(68.8%, 53%, 0%, 20.8%) |
| CIE-LAB | lab(43.51, 24.08, -59.13) |
| CIE-LCH | lch(43.51, 63.85, 292.16°) |
| OKLab | oklab(52.19% -0.0071 -0.17) |
| OKLCH | oklch(52.19% 0.17 267.6) |
| XYZ | xyz(16.7991, 13.5038, 57.5868) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.07
Warm Blue
#4B57DB
ΔE00 4.47
Royal Blue
#4169E1
ΔE00 4.49
Denim
#1560BD
ΔE00 5.30
French Blue
#436BAD
ΔE00 5.77
Sapphire
#0F52BA
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5FCA #CAAA3F
analogous
#3FA5CA #3F5FCA #653FCA
triadic
#3F5FCA #CA3F5F #5FCA3F
tetradic
#3F5FCA #CA3FA5 #CAAA3F #3FCA65
square
#3F5FCA #CA3FA5 #CAAA3F #3FCA65
split-complementary
#3F5FCA #CA653F #A5CA3F
monochromatic
#1F3170 #2C47A0 #3F5FCA #6F87D7 #9FAFE4
Accessibility & contrast
On white
5.67
#3F5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#3F5FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5FCA
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5FCA | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#146DCE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3f5fca; /* rgb */ color: rgb(63, 95, 202); /* oklch */ color: oklch(52.2% 0.170 267.6);
Tailwind
colors: {
custom: {
50: '#848cdb',
500: '#3f5fca',
950: '#000000',
},
}SCSS
$custom: #3f5fca; $custom-light: #848cdb; $custom-dark: #000000;
JSON
{
"hex": "#3f5fca",
"rgb": {
"r": 63,
"g": 95,
"b": 202
},
"hsl": {
"h": 226.187,
"s": 56.735,
"l": 51.961
},
"oklch": {
"l": 0.52191,
"c": 0.17016,
"h": 267.6
},
"luminance": 0.13505
}Semantic roles & 50–950 ramp
primary
#3F5FCA
secondary
#D1C394
accent
#BD48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83