#5256BB#5256BB
#5256BB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.156 H 277.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5256BB |
|---|---|
| RGB | rgb(82, 86, 187) |
| HSL | hsl(238, 44%, 53%) |
| HSV | hsv(238, 56%, 73%) |
| CMYK | cmyk(56.1%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(41.27, 27.90, -53.99) |
| CIE-LCH | lch(41.27, 60.77, 297.33°) |
| OKLab | oklab(50.48% 0.0204 -0.1545) |
| OKLCH | oklch(50.48% 0.156 277.5) |
| XYZ | xyz(15.7743, 12.0362, 48.4961) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.16
Warm Blue
#4B57DB
ΔE00 4.44
Slate Blue
#6A5ACD
ΔE00 5.05
Dark Periwinkle
#665FD1
ΔE00 5.22
Light Indigo
#6D5ACF
ΔE00 5.66
Ocean Blue
#4F42B5
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5256BB #BBB752
analogous
#528BBB #5256BB #8252BB
triadic
#5256BB #BB5256 #56BB52
tetradic
#5256BB #BB528B #BBB752 #52BB82
square
#5256BB #BB528B #BBB752 #52BB82
split-complementary
#5256BB #BB8252 #8BBB52
monochromatic
#292C69 #3B3E95 #5256BB #7E81CC #AAACDE
Accessibility & contrast
On white
6.16
#5256BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#5256BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5256BB
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5256BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5256BB | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1866BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#196D80
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5256bb; /* rgb */ color: rgb(82, 86, 187); /* oklch */ color: oklch(50.5% 0.156 277.5);
Tailwind
colors: {
custom: {
50: '#8b85d0',
500: '#5256bb',
950: '#000000',
},
}SCSS
$custom: #5256bb; $custom-light: #8b85d0; $custom-dark: #000000;
JSON
{
"hex": "#5256bb",
"rgb": {
"r": 82,
"g": 86,
"b": 187
},
"hsl": {
"h": 237.714,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.50477,
"c": 0.15588,
"h": 277.5
},
"luminance": 0.12037
}Semantic roles & 50–950 ramp
primary
#5256BB
secondary
#CBC99E
accent
#CE54D3
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82