#5351AC#5351AC
#5351AC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.5% C 0.141 H 280.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5351AC |
|---|---|
| RGB | rgb(83, 81, 172) |
| HSL | hsl(241, 36%, 50%) |
| HSV | hsv(241, 53%, 67%) |
| CMYK | cmyk(51.7%, 52.9%, 0%, 32.5%) |
| CIE-LAB | lab(39.07, 26.38, -48.70) |
| CIE-LCH | lch(39.07, 55.39, 298.44°) |
| OKLab | oklab(48.53% 0.0263 -0.139) |
| OKLCH | oklch(48.53% 0.141 280.7) |
| XYZ | xyz(13.9538, 10.7016, 40.3521) |
| Luminance | 0.1070 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.69
Ocean Blue
#4F42B5
ΔE00 4.87
Blueberry
#464196
ΔE00 5.68
Twilight
#4E518B
ΔE00 6.00
Slate Blue
#6A5ACD
ΔE00 6.64
Bluey Purple
#6241C7
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5351AC #AAAC51
analogous
#517CAC #5351AC #8151AC
triadic
#5351AC #AC5351 #51AC53
tetradic
#5351AC #AC517C #AAAC51 #51AC81
square
#5351AC #AC517C #AAAC51 #51AC81
split-complementary
#5351AC #AC8151 #7CAC51
monochromatic
#2B2A59 #3F3D82 #5351AC #7B7AC0 #A5A3D4
Accessibility & contrast
On white
6.69
#5351AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#5351AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5351AC
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5351AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5351AC | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215FAF
Deuteranopia (green-blind)
#1759AA
Tritanopia (blue-blind)
#2F6576
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5351ac; /* rgb */ color: rgb(83, 81, 172); /* oklch */ color: oklch(48.5% 0.141 280.7);
Tailwind
colors: {
custom: {
50: '#8a82c5',
500: '#5351ac',
950: '#000000',
},
}SCSS
$custom: #5351ac; $custom-light: #8a82c5; $custom-dark: #000000;
JSON
{
"hex": "#5351ac",
"rgb": {
"r": 83,
"g": 81,
"b": 172
},
"hsl": {
"h": 241.319,
"s": 35.968,
"l": 49.608
},
"oklch": {
"l": 0.48528,
"c": 0.14148,
"h": 280.7
},
"luminance": 0.10702
}Semantic roles & 50–950 ramp
primary
#5351AC
secondary
#C0C198
accent
#CC5CCA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82