#5257CA#5257CA
#5257CA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.175 H 276.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5257CA |
|---|---|
| RGB | rgb(82, 87, 202) |
| HSL | hsl(238, 53%, 56%) |
| HSV | hsv(238, 59%, 79%) |
| CMYK | cmyk(59.4%, 56.9%, 0%, 20.8%) |
| CIE-LAB | lab(42.57, 32.23, -60.60) |
| CIE-LCH | lch(42.57, 68.64, 298.00°) |
| OKLab | oklab(51.78% 0.0199 -0.174) |
| OKLCH | oklch(51.78% 0.175 276.5) |
| XYZ | xyz(17.5451, 12.8732, 57.4259) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.33
Iris
#6258C4
ΔE00 2.88
Dark Periwinkle
#665FD1
ΔE00 4.02
Slate Blue
#6A5ACD
ΔE00 4.17
Light Indigo
#6D5ACF
ΔE00 4.73
Azul
#1D5DEC
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5257CA #CAC552
analogous
#5293CA #5257CA #8952CA
triadic
#5257CA #CA5257 #57CA52
tetradic
#5257CA #CA5293 #CAC552 #52CA89
square
#5257CA #CA5293 #CAC552 #52CA89
split-complementary
#5257CA #CA8952 #93CA52
monochromatic
#26297C #3439AB #5257CA #8184D8 #B0B2E7
Accessibility & contrast
On white
5.87
#5257CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#5257CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5257CA
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5257CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5257CA | 1.00 | 5.87 | 3.57 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5257ca; /* rgb */ color: rgb(82, 87, 202); /* oklch */ color: oklch(51.8% 0.175 276.5);
Tailwind
colors: {
custom: {
50: '#8e86db',
500: '#5257ca',
950: '#000000',
},
}SCSS
$custom: #5257ca; $custom-light: #8e86db; $custom-dark: #000000;
JSON
{
"hex": "#5257ca",
"rgb": {
"r": 82,
"g": 87,
"b": 202
},
"hsl": {
"h": 237.5,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.51777,
"c": 0.17512,
"h": 276.5
},
"luminance": 0.12874
}Semantic roles & 50–950 ramp
primary
#5257CA
secondary
#D5D3A3
accent
#D64BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83