#5259B9#5259B9
#5259B9 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.149 H 276.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5259B9 |
|---|---|
| RGB | rgb(82, 89, 185) |
| HSL | hsl(236, 42%, 52%) |
| HSV | hsv(236, 56%, 73%) |
| CMYK | cmyk(55.7%, 51.9%, 0%, 27.5%) |
| CIE-LAB | lab(41.91, 25.36, -51.80) |
| CIE-LCH | lch(41.91, 57.67, 296.08°) |
| OKLab | oklab(50.91% 0.0171 -0.1481) |
| OKLCH | oklch(50.91% 0.149 276.6) |
| XYZ | xyz(15.8062, 12.4403, 47.4578) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.53
Warm Blue
#4B57DB
ΔE00 4.75
Dark Periwinkle
#665FD1
ΔE00 5.15
Slate Blue
#6A5ACD
ΔE00 5.31
Light Indigo
#6D5ACF
ΔE00 5.93
Dusky Blue
#475F94
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5259B9 #B9B252
analogous
#528DB9 #5259B9 #7E52B9
triadic
#5259B9 #B95259 #59B952
tetradic
#5259B9 #B9528D #B9B252 #52B97E
square
#5259B9 #B9528D #B9B252 #52B97E
split-complementary
#5259B9 #B97E52 #8DB952
monochromatic
#2A2E67 #3B4193 #5259B9 #7E83CB #A9ADDC
Accessibility & contrast
On white
6.02
#5259B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#5259B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5259B9
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5259B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5259B9 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2567BC
Deuteranopia (green-blind)
#135FB7
Tritanopia (blue-blind)
#1C6F80
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5259b9; /* rgb */ color: rgb(82, 89, 185); /* oklch */ color: oklch(50.9% 0.149 276.6);
Tailwind
colors: {
custom: {
50: '#8b87cf',
500: '#5259b9',
950: '#000000',
},
}SCSS
$custom: #5259b9; $custom-light: #8b87cf; $custom-dark: #000000;
JSON
{
"hex": "#5259b9",
"rgb": {
"r": 82,
"g": 89,
"b": 185
},
"hsl": {
"h": 235.922,
"s": 42.387,
"l": 52.353
},
"oklch": {
"l": 0.50909,
"c": 0.14905,
"h": 276.6
},
"luminance": 0.12441
}Semantic roles & 50–950 ramp
primary
#5259B9
secondary
#CAC79D
accent
#CA56D2
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82