#4F5FDA#4F5FDA
#4F5FDA is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.187 H 272.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5FDA |
|---|---|
| RGB | rgb(79, 95, 218) |
| HSL | hsl(233, 65%, 58%) |
| HSV | hsv(233, 64%, 85%) |
| CMYK | cmyk(63.8%, 56.4%, 0%, 14.5%) |
| CIE-LAB | lab(45.51, 32.12, -65.03) |
| CIE-LCH | lch(45.51, 72.53, 296.29°) |
| OKLab | oklab(54.28% 0.0095 -0.187) |
| OKLCH | oklch(54.28% 0.187 272.9) |
| XYZ | xyz(19.9673, 14.9069, 68.1411) |
| Luminance | 0.1491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.50
Dark Periwinkle
#665FD1
ΔE00 3.85
Azul
#1D5DEC
ΔE00 4.12
Royal Blue
#4169E1
ΔE00 4.26
Iris
#6258C4
ΔE00 5.12
Slate Blue
#6A5ACD
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5FDA #DACA4F
analogous
#4FA4DA #4F5FDA #854FDA
triadic
#4F5FDA #DA4F5F #5FDA4F
tetradic
#4F5FDA #DA4FA4 #DACA4F #4FDA85
square
#4F5FDA #DA4FA4 #DACA4F #4FDA85
split-complementary
#4F5FDA #DA854F #A4DA4F
monochromatic
#1E2B90 #293BC3 #4F5FDA #828DE5 #B4BBEF
Accessibility & contrast
On white
5.27
#4F5FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#4F5FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5FDA
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5FDA | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4f5fda; /* rgb */ color: rgb(79, 95, 218); /* oklch */ color: oklch(54.3% 0.187 272.9);
Tailwind
colors: {
custom: {
50: '#8e8ce6',
500: '#4f5fda',
950: '#000000',
},
}SCSS
$custom: #4f5fda; $custom-light: #8e8ce6; $custom-dark: #000000;
JSON
{
"hex": "#4f5fda",
"rgb": {
"r": 79,
"g": 95,
"b": 218
},
"hsl": {
"h": 233.094,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.54276,
"c": 0.18724,
"h": 272.9
},
"luminance": 0.14909
}Semantic roles & 50–950 ramp
primary
#4F5FDA
secondary
#DED8A7
accent
#D540E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84