#4F5CDB#4F5CDB
#4F5CDB is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.192 H 273.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5CDB |
|---|---|
| RGB | rgb(79, 92, 219) |
| HSL | hsl(234, 66%, 58%) |
| HSV | hsv(234, 64%, 86%) |
| CMYK | cmyk(63.9%, 58%, 0%, 14.1%) |
| CIE-LAB | lab(44.84, 34.32, -66.67) |
| CIE-LCH | lch(44.84, 74.99, 297.23°) |
| OKLab | oklab(53.81% 0.0121 -0.1919) |
| OKLCH | oklch(53.81% 0.192 273.6) |
| XYZ | xyz(19.8335, 14.4293, 68.7440) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.56
Dark Periwinkle
#665FD1
ΔE00 3.77
Azul
#1D5DEC
ΔE00 4.29
Iris
#6258C4
ΔE00 4.67
Slate Blue
#6A5ACD
ΔE00 4.88
Royal Blue
#4169E1
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5CDB #DBCE4F
analogous
#4FA2DB #4F5CDB #884FDB
triadic
#4F5CDB #DB4F5C #5CDB4F
tetradic
#4F5CDB #DB4FA2 #DBCE4F #4FDB88
square
#4F5CDB #DB4FA2 #DBCE4F #4FDB88
split-complementary
#4F5CDB #DB884F #A2DB4F
monochromatic
#1E2992 #2837C5 #4F5CDB #828BE5 #B5BAF0
Accessibility & contrast
On white
5.40
#4F5CDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#4F5CDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5CDB
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5CDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5CDB | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4f5cdb; /* rgb */ color: rgb(79, 92, 219); /* oklch */ color: oklch(53.8% 0.192 273.6);
Tailwind
colors: {
custom: {
50: '#8f8ae7',
500: '#4f5cdb',
950: '#000000',
},
}SCSS
$custom: #4f5cdb; $custom-light: #8f8ae7; $custom-dark: #000000;
JSON
{
"hex": "#4f5cdb",
"rgb": {
"r": 79,
"g": 92,
"b": 219
},
"hsl": {
"h": 234.429,
"s": 66.038,
"l": 58.431
},
"oklch": {
"l": 0.53805,
"c": 0.19225,
"h": 273.6
},
"luminance": 0.14431
}Semantic roles & 50–950 ramp
primary
#4F5CDB
secondary
#DFDAA7
accent
#D93FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84