#3F5FDA#3F5FDA
#3F5FDA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.192 H 268.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5FDA |
|---|---|
| RGB | rgb(63, 95, 218) |
| HSL | hsl(228, 68%, 55%) |
| HSV | hsv(228, 71%, 85%) |
| CMYK | cmyk(71.1%, 56.4%, 0%, 14.5%) |
| CIE-LAB | lab(44.66, 29.81, -66.44) |
| CIE-LCH | lch(44.66, 72.82, 294.17°) |
| OKLab | oklab(53.42% -0.0062 -0.1915) |
| OKLCH | oklch(53.42% 0.192 268.1) |
| XYZ | xyz(18.7926, 14.3012, 68.0861) |
| Luminance | 0.1430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.55
Warm Blue
#4B57DB
ΔE00 3.34
Royal Blue
#4169E1
ΔE00 3.52
Bright Blue
#0165FC
ΔE00 4.77
Electric Blue
#0652FF
ΔE00 5.36
Cornflower Blue
#5170D7
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5FDA #DABA3F
analogous
#3FACDA #3F5FDA #6C3FDA
triadic
#3F5FDA #DA3F5F #5FDA3F
tetradic
#3F5FDA #DA3FAC #DABA3F #3FDA6C
square
#3F5FDA #DA3FAC #DABA3F #3FDA6C
split-complementary
#3F5FDA #DA6C3F #ACDA3F
monochromatic
#1A3085 #2442B8 #3F5FDA #728AE4 #A6B5EE
Accessibility & contrast
On white
5.44
#3F5FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#3F5FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F5FDA
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5FDA | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #3f5fda; /* rgb */ color: rgb(63, 95, 218); /* oklch */ color: oklch(53.4% 0.192 268.1);
Tailwind
colors: {
custom: {
50: '#878ce6',
500: '#3f5fda',
950: '#000000',
},
}SCSS
$custom: #3f5fda; $custom-light: #878ce6; $custom-dark: #000000;
JSON
{
"hex": "#3f5fda",
"rgb": {
"r": 63,
"g": 95,
"b": 218
},
"hsl": {
"h": 227.613,
"s": 67.686,
"l": 55.098
},
"oklch": {
"l": 0.53418,
"c": 0.1916,
"h": 268.1
},
"luminance": 0.14303
}Semantic roles & 50–950 ramp
primary
#3F5FDA
secondary
#DBCD9A
accent
#C73DEB
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84