#5269D7#5269D7
#5269D7 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.1% C 0.170 H 271.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5269D7 |
|---|---|
| RGB | rgb(82, 105, 215) |
| HSL | hsl(230, 62%, 58%) |
| HSV | hsv(230, 62%, 84%) |
| CMYK | cmyk(61.9%, 51.2%, 0%, 15.7%) |
| CIE-LAB | lab(48.01, 25.37, -59.26) |
| CIE-LCH | lch(48.01, 64.47, 293.18°) |
| OKLab | oklab(56.14% 0.0032 -0.1698) |
| OKLCH | oklch(56.14% 0.17 271.1) |
| XYZ | xyz(20.7929, 16.8015, 66.4241) |
| Luminance | 0.1680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.28
Cornflower Blue
#5170D7
ΔE00 2.58
Azul
#1D5DEC
ΔE00 5.39
Dark Periwinkle
#665FD1
ΔE00 5.40
Bright Blue
#0165FC
ΔE00 5.40
Warm Blue
#4B57DB
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5269D7 #D7C052
analogous
#52ABD7 #5269D7 #7D52D7
triadic
#5269D7 #D75269 #69D752
tetradic
#5269D7 #D752AB #D7C052 #52D77D
square
#5269D7 #D752AB #D7C052 #52D77D
split-complementary
#5269D7 #D77D52 #ABD752
monochromatic
#21348E #2C46C0 #5269D7 #8494E2 #B5BFEE
Accessibility & contrast
On white
4.82
#5269D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#5269D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5269D7
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5269D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5269D7 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2978DB
Deuteranopia (green-blind)
#006CD5
Tritanopia (blue-blind)
#008396
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5269d7; /* rgb */ color: rgb(82, 105, 215); /* oklch */ color: oklch(56.1% 0.170 271.1);
Tailwind
colors: {
custom: {
50: '#8f93e4',
500: '#5269d7',
950: '#000000',
},
}SCSS
$custom: #5269d7; $custom-light: #8f93e4; $custom-dark: #000000;
JSON
{
"hex": "#5269d7",
"rgb": {
"r": 82,
"g": 105,
"b": 215
},
"hsl": {
"h": 229.624,
"s": 62.441,
"l": 58.235
},
"oklch": {
"l": 0.56136,
"c": 0.16988,
"h": 271.1
},
"luminance": 0.16803
}Semantic roles & 50–950 ramp
primary
#5269D7
secondary
#DDD4A8
accent
#C942E6
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84