#4A7FDF#4A7FDF
#4A7FDF is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.8% C 0.157 H 261.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7FDF |
|---|---|
| RGB | rgb(74, 127, 223) |
| HSL | hsl(219, 70%, 58%) |
| HSV | hsv(219, 67%, 87%) |
| CMYK | cmyk(66.8%, 43%, 0%, 12.5%) |
| CIE-LAB | lab(53.98, 13.17, -54.21) |
| CIE-LCH | lch(53.98, 55.79, 283.66°) |
| OKLab | oklab(60.75% -0.0238 -0.1548) |
| OKLCH | oklch(60.75% 0.157 261.2) |
| XYZ | xyz(23.7280, 21.9599, 72.7859) |
| Luminance | 0.2196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.11
Clear Blue
#247AFD
ΔE00 3.31
Lightish Blue
#3D7AFD
ΔE00 3.50
Azure
#007FFF
ΔE00 3.75
Deep Sky Blue
#0D75F8
ΔE00 4.21
Soft Blue
#6488EA
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7FDF #DFAA4A
analogous
#4AC9DF #4A7FDF #5F4ADF
triadic
#4A7FDF #DF4A7F #7FDF4A
tetradic
#4A7FDF #DF4AC9 #DFAA4A #4ADF5F
square
#4A7FDF #DF4AC9 #DFAA4A #4ADF5F
split-complementary
#4A7FDF #DF5F4A #C9DF4A
monochromatic
#1A4694 #235EC8 #4A7FDF #7EA4E8 #B2C9F1
Accessibility & contrast
On white
3.89
#4A7FDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#4A7FDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7FDF
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7FDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7FDF | 1.00 | 3.89 | 5.39 | 5.39 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5188E3
Deuteranopia (green-blind)
#387BDD
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #4a7fdf; /* rgb */ color: rgb(74, 127, 223); /* oklch */ color: oklch(60.8% 0.157 261.2);
Tailwind
colors: {
custom: {
50: '#8ca3e9',
500: '#4a7fdf',
950: '#000000',
},
}SCSS
$custom: #4a7fdf; $custom-light: #8ca3e9; $custom-dark: #000000;
JSON
{
"hex": "#4a7fdf",
"rgb": {
"r": 74,
"g": 127,
"b": 223
},
"hsl": {
"h": 218.658,
"s": 69.953,
"l": 58.235
},
"oklch": {
"l": 0.60751,
"c": 0.15667,
"h": 261.2
},
"luminance": 0.21962
}Semantic roles & 50–950 ramp
primary
#4A7FDF
secondary
#E0CBA5
accent
#AE3BED
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84