#5259B7#5259B7
#5259B7 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.146 H 276.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5259B7 |
|---|---|
| RGB | rgb(82, 89, 183) |
| HSL | hsl(236, 41%, 52%) |
| HSV | hsv(236, 55%, 72%) |
| CMYK | cmyk(55.2%, 51.4%, 0%, 28.2%) |
| CIE-LAB | lab(41.78, 24.70, -50.84) |
| CIE-LCH | lch(41.78, 56.52, 295.91°) |
| OKLab | oklab(50.77% 0.0169 -0.1452) |
| OKLCH | oklch(50.77% 0.146 276.6) |
| XYZ | xyz(15.5966, 12.3564, 46.3537) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.70
Warm Blue
#4B57DB
ΔE00 5.05
Dark Periwinkle
#665FD1
ΔE00 5.37
Slate Blue
#6A5ACD
ΔE00 5.50
Light Indigo
#6D5ACF
ΔE00 6.12
Dusky Blue
#475F94
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5259B7 #B7B052
analogous
#528BB7 #5259B7 #7E52B7
triadic
#5259B7 #B75259 #59B752
tetradic
#5259B7 #B7528B #B7B052 #52B77E
square
#5259B7 #B7528B #B7B052 #52B77E
split-complementary
#5259B7 #B77E52 #8BB752
monochromatic
#2A2E65 #3C4290 #5259B7 #7D82C9 #A8ACDB
Accessibility & contrast
On white
6.05
#5259B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5259B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5259B7
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5259B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5259B7 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2867BA
Deuteranopia (green-blind)
#185FB5
Tritanopia (blue-blind)
#1F6E7F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5259b7; /* rgb */ color: rgb(82, 89, 183); /* oklch */ color: oklch(50.8% 0.146 276.6);
Tailwind
colors: {
custom: {
50: '#8b87cd',
500: '#5259b7',
950: '#000000',
},
}SCSS
$custom: #5259b7; $custom-light: #8b87cd; $custom-dark: #000000;
JSON
{
"hex": "#5259b7",
"rgb": {
"r": 82,
"g": 89,
"b": 183
},
"hsl": {
"h": 235.842,
"s": 41.224,
"l": 51.961
},
"oklch": {
"l": 0.5077,
"c": 0.14622,
"h": 276.6
},
"luminance": 0.12357
}Semantic roles & 50–950 ramp
primary
#5259B7
secondary
#C9C59C
accent
#C957D1
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B13
muted
#7D7C82