#5285F5#5285F5
#5285F5 is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.8% C 0.176 H 263.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5285F5 |
|---|---|
| RGB | rgb(82, 133, 245) |
| HSL | hsl(221, 89%, 64%) |
| HSV | hsv(221, 67%, 96%) |
| CMYK | cmyk(66.5%, 45.7%, 0%, 3.9%) |
| CIE-LAB | lab(57.23, 18.40, -61.25) |
| CIE-LCH | lch(57.23, 63.96, 286.72°) |
| OKLab | oklab(63.75% -0.0193 -0.1753) |
| OKLCH | oklch(63.75% 0.176 263.7) |
| XYZ | xyz(28.3428, 25.1587, 89.7309) |
| Luminance | 0.2516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 1.84
Soft Blue
#6488EA
ΔE00 2.42
Lightish Blue
#3D7AFD
ΔE00 3.61
Clear Blue
#247AFD
ΔE00 4.26
Azure
#007FFF
ΔE00 4.38
Cornflowerblue
#6495ED
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5285F5 #F5C252
analogous
#52D7F5 #5285F5 #7152F5
triadic
#5285F5 #F55285 #85F552
tetradic
#5285F5 #F552D7 #F5C252 #52F571
square
#5285F5 #F552D7 #F5C252 #52F571
split-complementary
#5285F5 #F57152 #D7F552
monochromatic
#0B44C1 #185CF2 #5285F5 #8CAEF8 #C6D7FC
Accessibility & contrast
On white
3.48
#5285F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#5285F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5285F5
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5285F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5285F5 | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#2C82F3
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5285f5; /* rgb */ color: rgb(82, 133, 245); /* oklch */ color: oklch(63.8% 0.176 263.7);
Tailwind
colors: {
custom: {
50: '#93a7f9',
500: '#5285f5',
950: '#000000',
},
}SCSS
$custom: #5285f5; $custom-light: #93a7f9; $custom-dark: #000000;
JSON
{
"hex": "#5285f5",
"rgb": {
"r": 82,
"g": 133,
"b": 245
},
"hsl": {
"h": 221.227,
"s": 89.071,
"l": 64.118
},
"oklch": {
"l": 0.63754,
"c": 0.17637,
"h": 263.7
},
"luminance": 0.25161
}Semantic roles & 50–950 ramp
primary
#5285F5
secondary
#EEDCB5
accent
#9E00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85