#4D61DB#4D61DB
#4D61DB is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.6% C 0.187 H 271.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4D61DB |
|---|---|
| RGB | rgb(77, 97, 219) |
| HSL | hsl(232, 66%, 58%) |
| HSV | hsv(232, 65%, 86%) |
| CMYK | cmyk(64.8%, 55.7%, 0%, 14.1%) |
| CIE-LAB | lab(45.96, 30.90, -64.86) |
| CIE-LCH | lch(45.96, 71.85, 295.47°) |
| OKLab | oklab(54.61% 0.0057 -0.1865) |
| OKLCH | oklch(54.61% 0.187 271.7) |
| XYZ | xyz(20.1172, 15.2398, 68.8855) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.19
Royal Blue
#4169E1
ΔE00 3.48
Azul
#1D5DEC
ΔE00 3.84
Dark Periwinkle
#665FD1
ΔE00 4.34
Cornflower Blue
#5170D7
ΔE00 5.19
Bright Blue
#0165FC
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D61DB #DBC74D
analogous
#4DA8DB #4D61DB #804DDB
triadic
#4D61DB #DB4D61 #61DB4D
tetradic
#4D61DB #DB4DA8 #DBC74D #4DDB80
square
#4D61DB #DB4DA8 #DBC74D #4DDB80
split-complementary
#4D61DB #DB804D #A8DB4D
monochromatic
#1D2D90 #273DC3 #4D61DB #808EE5 #B3BBF0
Accessibility & contrast
On white
5.19
#4D61DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#4D61DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D61DB
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D61DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D61DB | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#007E94
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4d61db; /* rgb */ color: rgb(77, 97, 219); /* oklch */ color: oklch(54.6% 0.187 271.7);
Tailwind
colors: {
custom: {
50: '#8e8de7',
500: '#4d61db',
950: '#000000',
},
}SCSS
$custom: #4d61db; $custom-light: #8e8de7; $custom-dark: #000000;
JSON
{
"hex": "#4d61db",
"rgb": {
"r": 77,
"g": 97,
"b": 219
},
"hsl": {
"h": 231.549,
"s": 66.355,
"l": 58.039
},
"oklch": {
"l": 0.54608,
"c": 0.18663,
"h": 271.7
},
"luminance": 0.15242
}Semantic roles & 50–950 ramp
primary
#4D61DB
secondary
#DED6A6
accent
#D13FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84