#5255BD#5255BD
#5255BD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.160 H 277.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5255BD |
|---|---|
| RGB | rgb(82, 85, 189) |
| HSL | hsl(238, 45%, 53%) |
| HSV | hsv(238, 57%, 74%) |
| CMYK | cmyk(56.6%, 55%, 0%, 25.9%) |
| CIE-LAB | lab(41.16, 29.19, -55.34) |
| CIE-LCH | lch(41.16, 62.57, 297.81°) |
| OKLab | oklab(50.43% 0.0216 -0.1585) |
| OKLCH | oklch(50.43% 0.16 277.7) |
| XYZ | xyz(15.9106, 11.9639, 49.6051) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.03
Warm Blue
#4B57DB
ΔE00 4.20
Slate Blue
#6A5ACD
ΔE00 4.91
Dark Periwinkle
#665FD1
ΔE00 5.17
Light Indigo
#6D5ACF
ΔE00 5.51
Ocean Blue
#4F42B5
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5255BD #BDBA52
analogous
#528ABD #5255BD #8452BD
triadic
#5255BD #BD5255 #55BD52
tetradic
#5255BD #BD528A #BDBA52 #52BD84
square
#5255BD #BD528A #BDBA52 #52BD84
split-complementary
#5255BD #BD8452 #8ABD52
monochromatic
#292B6C #3A3D98 #5255BD #7E81CE #ABACDF
Accessibility & contrast
On white
6.19
#5255BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#5255BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5255BD
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5255BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5255BD | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E66C1
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#166D81
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5255bd; /* rgb */ color: rgb(82, 85, 189); /* oklch */ color: oklch(50.4% 0.160 277.7);
Tailwind
colors: {
custom: {
50: '#8c85d2',
500: '#5255bd',
950: '#000000',
},
}SCSS
$custom: #5255bd; $custom-light: #8c85d2; $custom-dark: #000000;
JSON
{
"hex": "#5255bd",
"rgb": {
"r": 82,
"g": 85,
"b": 189
},
"hsl": {
"h": 238.318,
"s": 44.77,
"l": 53.137
},
"oklch": {
"l": 0.50434,
"c": 0.15999,
"h": 277.7
},
"luminance": 0.11965
}Semantic roles & 50–950 ramp
primary
#5255BD
secondary
#CCCB9E
accent
#D153D4
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82