#5451C2#5451C2
#5451C2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.172 H 279.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5451C2 |
|---|---|
| RGB | rgb(84, 81, 194) |
| HSL | hsl(242, 48%, 54%) |
| HSV | hsv(242, 58%, 76%) |
| CMYK | cmyk(56.7%, 58.2%, 0%, 23.9%) |
| CIE-LAB | lab(40.68, 33.69, -59.03) |
| CIE-LCH | lch(40.68, 67.97, 299.71°) |
| OKLab | oklab(50.23% 0.0281 -0.1694) |
| OKLCH | oklch(50.23% 0.172 279.4) |
| XYZ | xyz(16.3331, 11.6636, 52.4191) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.97
Warm Blue
#4B57DB
ΔE00 4.07
Slate Blue
#6A5ACD
ΔE00 4.64
Ocean Blue
#4F42B5
ΔE00 4.69
Light Indigo
#6D5ACF
ΔE00 5.16
Bluey Purple
#6241C7
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5451C2 #BFC251
analogous
#5187C2 #5451C2 #8D51C2
triadic
#5451C2 #C25451 #51C254
tetradic
#5451C2 #C25187 #BFC251 #51C28D
square
#5451C2 #C25187 #BFC251 #51C28D
split-complementary
#5451C2 #C28D51 #87C251
monochromatic
#2A2871 #3A379E #5451C2 #817ED2 #ADACE2
Accessibility & contrast
On white
6.30
#5451C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#5451C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5451C2
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5451C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5451C2 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#176C81
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5451c2; /* rgb */ color: rgb(84, 81, 194); /* oklch */ color: oklch(50.2% 0.172 279.4);
Tailwind
colors: {
custom: {
50: '#8e82d5',
500: '#5451c2',
950: '#000000',
},
}SCSS
$custom: #5451c2; $custom-light: #8e82d5; $custom-dark: #000000;
JSON
{
"hex": "#5451c2",
"rgb": {
"r": 84,
"g": 81,
"b": 194
},
"hsl": {
"h": 241.593,
"s": 48.085,
"l": 53.922
},
"oklch": {
"l": 0.50226,
"c": 0.17168,
"h": 279.4
},
"luminance": 0.11665
}Semantic roles & 50–950 ramp
primary
#5451C2
secondary
#CED09F
accent
#D850D4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83