#5259B8#5259B8
#5259B8 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.148 H 276.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5259B8 |
|---|---|
| RGB | rgb(82, 89, 184) |
| HSL | hsl(236, 42%, 52%) |
| HSV | hsv(236, 55%, 72%) |
| CMYK | cmyk(55.4%, 51.6%, 0%, 27.8%) |
| CIE-LAB | lab(41.84, 25.03, -51.32) |
| CIE-LCH | lch(41.84, 57.10, 296.00°) |
| OKLab | oklab(50.84% 0.017 -0.1467) |
| OKLCH | oklch(50.84% 0.148 276.6) |
| XYZ | xyz(15.7010, 12.3982, 46.9038) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.61
Warm Blue
#4B57DB
ΔE00 4.90
Dark Periwinkle
#665FD1
ΔE00 5.26
Slate Blue
#6A5ACD
ΔE00 5.41
Light Indigo
#6D5ACF
ΔE00 6.03
Dusky Blue
#475F94
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5259B8 #B8B152
analogous
#528CB8 #5259B8 #7E52B8
triadic
#5259B8 #B85259 #59B852
tetradic
#5259B8 #B8528C #B8B152 #52B87E
square
#5259B8 #B8528C #B8B152 #52B87E
split-complementary
#5259B8 #B87E52 #8CB852
monochromatic
#2A2E66 #3C4191 #5259B8 #7D83CA #A9ACDC
Accessibility & contrast
On white
6.03
#5259B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#5259B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5259B8
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5259B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5259B8 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2667BB
Deuteranopia (green-blind)
#155FB6
Tritanopia (blue-blind)
#1D6E80
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5259b8; /* rgb */ color: rgb(82, 89, 184); /* oklch */ color: oklch(50.8% 0.148 276.6);
Tailwind
colors: {
custom: {
50: '#8b87ce',
500: '#5259b8',
950: '#000000',
},
}SCSS
$custom: #5259b8; $custom-light: #8b87ce; $custom-dark: #000000;
JSON
{
"hex": "#5259b8",
"rgb": {
"r": 82,
"g": 89,
"b": 184
},
"hsl": {
"h": 235.882,
"s": 41.803,
"l": 52.157
},
"oklch": {
"l": 0.50839,
"c": 0.14764,
"h": 276.6
},
"luminance": 0.12399
}Semantic roles & 50–950 ramp
primary
#5259B8
secondary
#C9C69D
accent
#C956D2
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82