#5259B5#5259B5
#5259B5 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.143 H 276.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5259B5 |
|---|---|
| RGB | rgb(82, 89, 181) |
| HSL | hsl(236, 40%, 52%) |
| HSV | hsv(236, 55%, 71%) |
| CMYK | cmyk(54.7%, 50.8%, 0%, 29%) |
| CIE-LAB | lab(41.65, 24.04, -49.87) |
| CIE-LCH | lch(41.65, 55.37, 295.73°) |
| OKLab | oklab(50.63% 0.0168 -0.1424) |
| OKLCH | oklch(50.63% 0.143 276.7) |
| XYZ | xyz(15.3899, 12.2738, 45.2652) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.89
Warm Blue
#4B57DB
ΔE00 5.35
Dark Periwinkle
#665FD1
ΔE00 5.59
Slate Blue
#6A5ACD
ΔE00 5.70
Light Indigo
#6D5ACF
ΔE00 6.32
Dusky Blue
#475F94
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5259B5 #B5AE52
analogous
#528BB5 #5259B5 #7D52B5
triadic
#5259B5 #B55259 #59B552
tetradic
#5259B5 #B5528B #B5AE52 #52B57D
square
#5259B5 #B5528B #B5AE52 #52B57D
split-complementary
#5259B5 #B57D52 #8BB552
monochromatic
#2A2E62 #3C428D #5259B5 #7D82C7 #A8ABDA
Accessibility & contrast
On white
6.08
#5259B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#5259B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5259B5
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5259B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5259B5 | 1.00 | 6.08 | 3.46 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A66B8
Deuteranopia (green-blind)
#1C5EB3
Tritanopia (blue-blind)
#226E7E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5259b5; /* rgb */ color: rgb(82, 89, 181); /* oklch */ color: oklch(50.6% 0.143 276.7);
Tailwind
colors: {
custom: {
50: '#8a87cc',
500: '#5259b5',
950: '#000000',
},
}SCSS
$custom: #5259b5; $custom-light: #8a87cc; $custom-dark: #000000;
JSON
{
"hex": "#5259b5",
"rgb": {
"r": 82,
"g": 89,
"b": 181
},
"hsl": {
"h": 235.758,
"s": 40.081,
"l": 51.569
},
"oklch": {
"l": 0.50631,
"c": 0.14339,
"h": 276.7
},
"luminance": 0.12275
}Semantic roles & 50–950 ramp
primary
#5259B5
secondary
#C7C49C
accent
#C758D0
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B13
muted
#7D7C82