#5258CD#5258CD
#5258CD is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.178 H 276.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5258CD |
|---|---|
| RGB | rgb(82, 88, 205) |
| HSL | hsl(237, 55%, 56%) |
| HSV | hsv(237, 60%, 80%) |
| CMYK | cmyk(60%, 57.1%, 0%, 19.6%) |
| CIE-LAB | lab(43.03, 32.60, -61.59) |
| CIE-LCH | lch(43.03, 69.68, 297.90°) |
| OKLab | oklab(52.19% 0.0189 -0.1769) |
| OKLCH | oklch(52.19% 0.178 276.1) |
| XYZ | xyz(17.9853, 13.1797, 59.3419) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.95
Iris
#6258C4
ΔE00 3.04
Dark Periwinkle
#665FD1
ΔE00 3.77
Slate Blue
#6A5ACD
ΔE00 4.10
Light Indigo
#6D5ACF
ΔE00 4.65
Azul
#1D5DEC
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5258CD #CDC752
analogous
#5296CD #5258CD #8A52CD
triadic
#5258CD #CD5258 #58CD52
tetradic
#5258CD #CD5296 #CDC752 #52CD8A
square
#5258CD #CD5296 #CDC752 #52CD8A
split-complementary
#5258CD #CD8A52 #96CD52
monochromatic
#252980 #3339AF #5258CD #8186DB #B1B4E8
Accessibility & contrast
On white
5.78
#5258CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#5258CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5258CD
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5258CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5258CD | 1.00 | 5.78 | 3.64 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5258cd; /* rgb */ color: rgb(82, 88, 205); /* oklch */ color: oklch(52.2% 0.178 276.1);
Tailwind
colors: {
custom: {
50: '#8e87dd',
500: '#5258cd',
950: '#000000',
},
}SCSS
$custom: #5258cd; $custom-light: #8e87dd; $custom-dark: #000000;
JSON
{
"hex": "#5258cd",
"rgb": {
"r": 82,
"g": 88,
"b": 205
},
"hsl": {
"h": 237.073,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.52188,
"c": 0.17788,
"h": 276.1
},
"luminance": 0.13181
}Semantic roles & 50–950 ramp
primary
#5258CD
secondary
#D7D4A4
accent
#D749DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83