#5256C9#5256C9
#5256C9 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.175 H 276.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5256C9 |
|---|---|
| RGB | rgb(82, 86, 201) |
| HSL | hsl(238, 52%, 55%) |
| HSV | hsv(238, 59%, 79%) |
| CMYK | cmyk(59.2%, 57.2%, 0%, 21.2%) |
| CIE-LAB | lab(42.25, 32.52, -60.54) |
| CIE-LCH | lch(42.25, 68.72, 298.24°) |
| OKLab | oklab(51.52% 0.0208 -0.1738) |
| OKLCH | oklch(51.52% 0.175 276.8) |
| XYZ | xyz(17.3467, 12.6652, 56.7775) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.51
Iris
#6258C4
ΔE00 2.83
Slate Blue
#6A5ACD
ΔE00 4.21
Dark Periwinkle
#665FD1
ΔE00 4.22
Light Indigo
#6D5ACF
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5256C9 #C9C552
analogous
#5291C9 #5256C9 #8952C9
triadic
#5256C9 #C95256 #56C952
tetradic
#5256C9 #C95291 #C9C552 #52C989
square
#5256C9 #C95291 #C9C552 #52C989
split-complementary
#5256C9 #C98952 #91C952
monochromatic
#26297A #3539A9 #5256C9 #8184D8 #AFB1E6
Accessibility & contrast
On white
5.94
#5256C9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#5256C9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5256C9
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5256C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5256C9 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5256c9; /* rgb */ color: rgb(82, 86, 201); /* oklch */ color: oklch(51.5% 0.175 276.8);
Tailwind
colors: {
custom: {
50: '#8e85da',
500: '#5256c9',
950: '#000000',
},
}SCSS
$custom: #5256c9; $custom-light: #8e85da; $custom-dark: #000000;
JSON
{
"hex": "#5256c9",
"rgb": {
"r": 82,
"g": 86,
"b": 201
},
"hsl": {
"h": 237.983,
"s": 52.423,
"l": 55.49
},
"oklch": {
"l": 0.51519,
"c": 0.17505,
"h": 276.8
},
"luminance": 0.12666
}Semantic roles & 50–950 ramp
primary
#5256C9
secondary
#D4D3A3
accent
#D74CDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83