#5259BB#5259BB
#5259BB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.152 H 276.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5259BB |
|---|---|
| RGB | rgb(82, 89, 187) |
| HSL | hsl(236, 44%, 53%) |
| HSV | hsv(236, 56%, 73%) |
| CMYK | cmyk(56.1%, 52.4%, 0%, 26.7%) |
| CIE-LAB | lab(42.04, 26.02, -52.76) |
| CIE-LCH | lch(42.04, 58.82, 296.25°) |
| OKLab | oklab(51.05% 0.0172 -0.1509) |
| OKLCH | oklch(51.05% 0.152 276.5) |
| XYZ | xyz(16.0188, 12.5253, 48.5776) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.38
Warm Blue
#4B57DB
ΔE00 4.45
Dark Periwinkle
#665FD1
ΔE00 4.95
Slate Blue
#6A5ACD
ΔE00 5.13
Light Indigo
#6D5ACF
ΔE00 5.76
Dusky Blue
#475F94
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5259BB #BBB452
analogous
#528DBB #5259BB #7F52BB
triadic
#5259BB #BB5259 #59BB52
tetradic
#5259BB #BB528D #BBB452 #52BB7F
square
#5259BB #BB528D #BBB452 #52BB7F
split-complementary
#5259BB #BB7F52 #8DBB52
monochromatic
#292E69 #3B4195 #5259BB #7E83CC #AAADDE
Accessibility & contrast
On white
5.99
#5259BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#5259BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5259BB
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5259BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5259BB | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2268BE
Deuteranopia (green-blind)
#0C5FB9
Tritanopia (blue-blind)
#196F81
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5259bb; /* rgb */ color: rgb(82, 89, 187); /* oklch */ color: oklch(51.1% 0.152 276.5);
Tailwind
colors: {
custom: {
50: '#8b87d0',
500: '#5259bb',
950: '#000000',
},
}SCSS
$custom: #5259bb; $custom-light: #8b87d0; $custom-dark: #000000;
JSON
{
"hex": "#5259bb",
"rgb": {
"r": 82,
"g": 89,
"b": 187
},
"hsl": {
"h": 236,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.51051,
"c": 0.15186,
"h": 276.5
},
"luminance": 0.12526
}Semantic roles & 50–950 ramp
primary
#5259BB
secondary
#CBC89E
accent
#CB54D3
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82