#5258CF#5258CF
#5258CF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.3% C 0.181 H 276.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5258CF |
|---|---|
| RGB | rgb(82, 88, 207) |
| HSL | hsl(237, 57%, 57%) |
| HSV | hsv(237, 60%, 81%) |
| CMYK | cmyk(60.4%, 57.5%, 0%, 18.8%) |
| CIE-LAB | lab(43.18, 33.26, -62.50) |
| CIE-LCH | lch(43.18, 70.80, 298.02°) |
| OKLab | oklab(52.34% 0.0189 -0.1796) |
| OKLCH | oklch(52.34% 0.181 276) |
| XYZ | xyz(18.2282, 13.2769, 60.6215) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.70
Iris
#6258C4
ΔE00 3.14
Dark Periwinkle
#665FD1
ΔE00 3.71
Slate Blue
#6A5ACD
ΔE00 4.08
Light Indigo
#6D5ACF
ΔE00 4.61
Azul
#1D5DEC
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5258CF #CFC952
analogous
#5297CF #5258CF #8B52CF
triadic
#5258CF #CF5258 #58CF52
tetradic
#5258CF #CF5297 #CFC952 #52CF8B
square
#5258CF #CF5297 #CFC952 #52CF8B
split-complementary
#5258CF #CF8B52 #97CF52
monochromatic
#242982 #3138B2 #5258CF #8286DC #B2B4EA
Accessibility & contrast
On white
5.74
#5258CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#5258CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5258CF
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5258CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5258CF | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5258cf; /* rgb */ color: rgb(82, 88, 207); /* oklch */ color: oklch(52.3% 0.181 276.0);
Tailwind
colors: {
custom: {
50: '#8e87de',
500: '#5258cf',
950: '#000000',
},
}SCSS
$custom: #5258cf; $custom-light: #8e87de; $custom-dark: #000000;
JSON
{
"hex": "#5258cf",
"rgb": {
"r": 82,
"g": 88,
"b": 207
},
"hsl": {
"h": 237.12,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.52342,
"c": 0.18057,
"h": 276
},
"luminance": 0.13278
}Semantic roles & 50–950 ramp
primary
#5258CF
secondary
#D8D6A5
accent
#D948E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83