#5258BB#5258BB
#5258BB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.153 H 276.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5258BB |
|---|---|
| RGB | rgb(82, 88, 187) |
| HSL | hsl(237, 44%, 53%) |
| HSV | hsv(237, 56%, 73%) |
| CMYK | cmyk(56.1%, 52.9%, 0%, 26.7%) |
| CIE-LAB | lab(41.78, 26.65, -53.17) |
| CIE-LCH | lch(41.78, 59.47, 296.62°) |
| OKLab | oklab(50.86% 0.0183 -0.1521) |
| OKLCH | oklch(50.86% 0.153 276.9) |
| XYZ | xyz(15.9362, 12.3600, 48.5500) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.27
Warm Blue
#4B57DB
ΔE00 4.42
Dark Periwinkle
#665FD1
ΔE00 5.02
Slate Blue
#6A5ACD
ΔE00 5.08
Light Indigo
#6D5ACF
ΔE00 5.70
Ocean Blue
#4F42B5
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5258BB #BBB552
analogous
#528DBB #5258BB #8052BB
triadic
#5258BB #BB5258 #58BB52
tetradic
#5258BB #BB528D #BBB552 #52BB80
square
#5258BB #BB528D #BBB552 #52BB80
split-complementary
#5258BB #BB8052 #8DBB52
monochromatic
#292D69 #3B4095 #5258BB #7E82CC #AAADDE
Accessibility & contrast
On white
6.05
#5258BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5258BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5258BB
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5258BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5258BB | 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)
#1F67BE
Deuteranopia (green-blind)
#065EB9
Tritanopia (blue-blind)
#196F81
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5258bb; /* rgb */ color: rgb(82, 88, 187); /* oklch */ color: oklch(50.9% 0.153 276.9);
Tailwind
colors: {
custom: {
50: '#8b87d0',
500: '#5258bb',
950: '#000000',
},
}SCSS
$custom: #5258bb; $custom-light: #8b87d0; $custom-dark: #000000;
JSON
{
"hex": "#5258bb",
"rgb": {
"r": 82,
"g": 88,
"b": 187
},
"hsl": {
"h": 236.571,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.50858,
"c": 0.15321,
"h": 276.9
},
"luminance": 0.12361
}Semantic roles & 50–950 ramp
primary
#5258BB
secondary
#CBC99E
accent
#CC54D3
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82