#5273F5#5273F5
#5273F5 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.2% C 0.198 H 269.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5273F5 |
|---|---|
| RGB | rgb(82, 115, 245) |
| HSL | hsl(228, 89%, 64%) |
| HSV | hsv(228, 67%, 96%) |
| CMYK | cmyk(66.5%, 53.1%, 0%, 3.9%) |
| CIE-LAB | lab(52.56, 29.42, -68.78) |
| CIE-LCH | lch(52.56, 74.81, 293.16°) |
| OKLab | oklab(60.2% -0.0035 -0.1977) |
| OKLCH | oklch(60.2% 0.198 269) |
| XYZ | xyz(26.0862, 20.6454, 88.9787) |
| Luminance | 0.2065 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.61
Lightish Blue
#3D7AFD
ΔE00 3.66
Cornflower Blue
#5170D7
ΔE00 3.97
Royal Blue
#4169E1
ΔE00 4.83
Clear Blue
#247AFD
ΔE00 5.17
Deep Sky Blue
#0D75F8
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5273F5 #F5D452
analogous
#52C4F5 #5273F5 #8352F5
triadic
#5273F5 #F55273 #73F552
tetradic
#5273F5 #F552C4 #F5D452 #52F583
square
#5273F5 #F552C4 #F5D452 #52F583
split-complementary
#5273F5 #F58352 #C4F552
monochromatic
#0B30C1 #1844F2 #5273F5 #8CA2F8 #C6D1FC
Accessibility & contrast
On white
4.09
#5273F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#5273F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5273F5
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5273F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5273F5 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1285FA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#0092A9
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5273f5; /* rgb */ color: rgb(82, 115, 245); /* oklch */ color: oklch(60.2% 0.198 269.0);
Tailwind
colors: {
custom: {
50: '#949af9',
500: '#5273f5',
950: '#000000',
},
}SCSS
$custom: #5273f5; $custom-light: #949af9; $custom-dark: #000000;
JSON
{
"hex": "#5273f5",
"rgb": {
"r": 82,
"g": 115,
"b": 245
},
"hsl": {
"h": 227.853,
"s": 89.071,
"l": 64.118
},
"oklch": {
"l": 0.60203,
"c": 0.19775,
"h": 269
},
"luminance": 0.20648
}Semantic roles & 50–950 ramp
primary
#5273F5
secondary
#EEE2B5
accent
#B700E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85