#5256BF#5256BF
#5256BF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.8% C 0.161 H 277.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5256BF |
|---|---|
| RGB | rgb(82, 86, 191) |
| HSL | hsl(238, 46%, 54%) |
| HSV | hsv(238, 57%, 75%) |
| CMYK | cmyk(57.1%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(41.55, 29.22, -55.88) |
| CIE-LCH | lch(41.55, 63.06, 297.60°) |
| OKLab | oklab(50.77% 0.0206 -0.1601) |
| OKLCH | oklch(50.77% 0.161 277.3) |
| XYZ | xyz(16.2084, 12.2099, 50.7827) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.93
Warm Blue
#4B57DB
ΔE00 3.87
Slate Blue
#6A5ACD
ΔE00 4.74
Dark Periwinkle
#665FD1
ΔE00 4.87
Light Indigo
#6D5ACF
ΔE00 5.35
Ocean Blue
#4F42B5
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5256BF #BFBB52
analogous
#528CBF #5256BF #8452BF
triadic
#5256BF #BF5256 #56BF52
tetradic
#5256BF #BF528C #BFBB52 #52BF84
square
#5256BF #BF528C #BFBB52 #52BF84
split-complementary
#5256BF #BF8452 #8CBF52
monochromatic
#292B6E #393D9B #5256BF #7F82D0 #ABADE0
Accessibility & contrast
On white
6.10
#5256BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5256BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5256BF
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5256BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5256BF | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D67C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#116E82
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5256bf; /* rgb */ color: rgb(82, 86, 191); /* oklch */ color: oklch(50.8% 0.161 277.3);
Tailwind
colors: {
custom: {
50: '#8c85d3',
500: '#5256bf',
950: '#000000',
},
}SCSS
$custom: #5256bf; $custom-light: #8c85d3; $custom-dark: #000000;
JSON
{
"hex": "#5256bf",
"rgb": {
"r": 82,
"g": 86,
"b": 191
},
"hsl": {
"h": 237.798,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.50769,
"c": 0.16142,
"h": 277.3
},
"luminance": 0.12211
}Semantic roles & 50–950 ramp
primary
#5256BF
secondary
#CECC9F
accent
#D152D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83