#4682E4#4682E4
#4682E4 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.5% C 0.161 H 259.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #4682E4 |
|---|---|
| RGB | rgb(70, 130, 228) |
| HSL | hsl(217, 75%, 58%) |
| HSV | hsv(217, 69%, 89%) |
| CMYK | cmyk(69.3%, 43%, 0%, 10.6%) |
| CIE-LAB | lab(54.93, 12.49, -55.50) |
| CIE-LCH | lch(54.93, 56.89, 282.68°) |
| OKLab | oklab(61.53% -0.0288 -0.1587) |
| OKLCH | oklch(61.53% 0.161 259.7) |
| XYZ | xyz(24.5070, 22.8662, 76.5058) |
| Luminance | 0.2287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.43
Azure
#007FFF
ΔE00 3.00
Clear Blue
#247AFD
ΔE00 3.39
Lightish Blue
#3D7AFD
ΔE00 3.87
Soft Blue
#6488EA
ΔE00 4.49
Dark Sky Blue
#448EE4
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4682E4 #E4A846
analogous
#46D1E4 #4682E4 #5946E4
triadic
#4682E4 #E44682 #82E446
tetradic
#4682E4 #E446D1 #E4A846 #46E459
square
#4682E4 #E446D1 #E4A846 #46E459
split-complementary
#4682E4 #E45946 #D1E446
monochromatic
#164899 #1E61CF #4682E4 #7BA6EC #B1CAF4
Accessibility & contrast
On white
3.77
#4682E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#4682E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4682E4
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4682E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4682E4 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#528BE8
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#0099A8
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #4682e4; /* rgb */ color: rgb(70, 130, 228); /* oklch */ color: oklch(61.5% 0.161 259.7);
Tailwind
colors: {
custom: {
50: '#8ba5ed',
500: '#4682e4',
950: '#000000',
},
}SCSS
$custom: #4682e4; $custom-light: #8ba5ed; $custom-dark: #000000;
JSON
{
"hex": "#4682e4",
"rgb": {
"r": 70,
"g": 130,
"b": 228
},
"hsl": {
"h": 217.215,
"s": 74.528,
"l": 58.431
},
"oklch": {
"l": 0.61532,
"c": 0.16125,
"h": 259.7
},
"luminance": 0.22869
}Semantic roles & 50–950 ramp
primary
#4682E4
secondary
#E2CAA4
accent
#AA37F1
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84