#5791FE#5791FE
#5791FE is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.0% C 0.173 H 261.8°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5791FE |
|---|---|
| RGB | rgb(87, 145, 254) |
| HSL | hsl(219, 99%, 67%) |
| HSV | hsv(219, 66%, 100%) |
| CMYK | cmyk(65.7%, 42.9%, 0%, 0.4%) |
| CIE-LAB | lab(61.16, 15.03, -59.90) |
| CIE-LCH | lch(61.16, 61.76, 284.09°) |
| OKLab | oklab(67% -0.0247 -0.1711) |
| OKLCH | oklch(67% 0.173 261.8) |
| XYZ | xyz(31.9389, 29.4297, 97.7440) |
| Luminance | 0.2943 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.03
Soft Blue
#6488EA
ΔE00 4.29
Dark Sky Blue
#448EE4
ΔE00 4.50
Dodger Blue
#3E82FC
ΔE00 4.75
Dodgerblue
#1E90FF
ΔE00 4.82
Azure
#007FFF
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5791FE #FEC457
analogous
#57E4FE #5791FE #7157FE
triadic
#5791FE #FE5791 #91FE57
tetradic
#5791FE #FE57E4 #FEC457 #57FE71
square
#5791FE #FE57E4 #FEC457 #57FE71
split-complementary
#5791FE #FE7157 #E4FE57
monochromatic
#014CD9 #1A69FE #5791FE #94B9FE #D1E1FF
Accessibility & contrast
On white
3.05
#5791FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.89
#5791FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5791FE
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5791FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5791FE | 1.00 | 3.05 | 6.89 | 6.89 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#418CFC
Tritanopia (blue-blind)
#00AABB
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #5791fe; /* rgb */ color: rgb(87, 145, 254); /* oklch */ color: oklch(67.0% 0.173 261.8);
Tailwind
colors: {
custom: {
50: '#96b0ff',
500: '#5791fe',
950: '#000000',
},
}SCSS
$custom: #5791fe; $custom-light: #96b0ff; $custom-dark: #000000;
JSON
{
"hex": "#5791fe",
"rgb": {
"r": 87,
"g": 145,
"b": 254
},
"hsl": {
"h": 219.162,
"s": 98.817,
"l": 66.863
},
"oklch": {
"l": 0.67001,
"c": 0.17287,
"h": 261.8
},
"luminance": 0.29433
}Semantic roles & 50–950 ramp
primary
#5791FE
secondary
#F3E1BE
accent
#9600E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86