#4D7FDF#4D7FDF
#4D7FDF is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.9% C 0.156 H 262.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #4D7FDF |
|---|---|
| RGB | rgb(77, 127, 223) |
| HSL | hsl(219, 70%, 59%) |
| HSV | hsv(219, 65%, 87%) |
| CMYK | cmyk(65.5%, 43%, 0%, 12.5%) |
| CIE-LAB | lab(54.11, 13.66, -54.00) |
| CIE-LCH | lch(54.11, 55.70, 284.20°) |
| OKLab | oklab(60.89% -0.0214 -0.1542) |
| OKLCH | oklch(60.89% 0.156 262.1) |
| XYZ | xyz(23.9645, 22.0819, 72.7970) |
| Luminance | 0.2208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.15
Lightish Blue
#3D7AFD
ΔE00 3.42
Clear Blue
#247AFD
ΔE00 3.46
Azure
#007FFF
ΔE00 4.06
Soft Blue
#6488EA
ΔE00 4.30
Deep Sky Blue
#0D75F8
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D7FDF #DFAD4D
analogous
#4DC8DF #4D7FDF #644DDF
triadic
#4D7FDF #DF4D7F #7FDF4D
tetradic
#4D7FDF #DF4DC8 #DFAD4D #4DDF64
square
#4D7FDF #DF4DC8 #DFAD4D #4DDF64
split-complementary
#4D7FDF #DF644D #C8DF4D
monochromatic
#1B4597 #245DCA #4D7FDF #81A4E8 #B5CAF2
Accessibility & contrast
On white
3.88
#4D7FDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#4D7FDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D7FDF
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D7FDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D7FDF | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5289E3
Deuteranopia (green-blind)
#3A7BDD
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #4d7fdf; /* rgb */ color: rgb(77, 127, 223); /* oklch */ color: oklch(60.9% 0.156 262.1);
Tailwind
colors: {
custom: {
50: '#8da3e9',
500: '#4d7fdf',
950: '#000000',
},
}SCSS
$custom: #4d7fdf; $custom-light: #8da3e9; $custom-dark: #000000;
JSON
{
"hex": "#4d7fdf",
"rgb": {
"r": 77,
"g": 127,
"b": 223
},
"hsl": {
"h": 219.452,
"s": 69.524,
"l": 58.824
},
"oklch": {
"l": 0.60886,
"c": 0.15565,
"h": 262.1
},
"luminance": 0.22084
}Semantic roles & 50–950 ramp
primary
#4D7FDF
secondary
#E1CDA7
accent
#B03BEC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84