#5452BF#5452BF
#5452BF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.166 H 279.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5452BF |
|---|---|
| RGB | rgb(84, 82, 191) |
| HSL | hsl(241, 46%, 54%) |
| HSV | hsv(241, 57%, 75%) |
| CMYK | cmyk(56%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(40.70, 32.10, -57.24) |
| CIE-LCH | lch(40.70, 65.63, 299.28°) |
| OKLab | oklab(50.18% 0.0271 -0.1641) |
| OKLCH | oklch(50.18% 0.166 279.4) |
| XYZ | xyz(16.0745, 11.6799, 50.6875) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.89
Warm Blue
#4B57DB
ΔE00 4.30
Slate Blue
#6A5ACD
ΔE00 4.70
Ocean Blue
#4F42B5
ΔE00 4.86
Light Indigo
#6D5ACF
ΔE00 5.25
Dark Periwinkle
#665FD1
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5452BF #BDBF52
analogous
#5286BF #5452BF #8A52BF
triadic
#5452BF #BF5452 #52BF54
tetradic
#5452BF #BF5286 #BDBF52 #52BF8A
square
#5452BF #BF5286 #BDBF52 #52BF8A
split-complementary
#5452BF #BF8A52 #86BF52
monochromatic
#2A296E #3B399B #5452BF #807FD0 #ACABE0
Accessibility & contrast
On white
6.29
#5452BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#5452BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5452BF
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5452BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5452BF | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#1C6B80
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5452bf; /* rgb */ color: rgb(84, 82, 191); /* oklch */ color: oklch(50.2% 0.166 279.4);
Tailwind
colors: {
custom: {
50: '#8d82d3',
500: '#5452bf',
950: '#000000',
},
}SCSS
$custom: #5452bf; $custom-light: #8d82d3; $custom-dark: #000000;
JSON
{
"hex": "#5452bf",
"rgb": {
"r": 84,
"g": 82,
"b": 191
},
"hsl": {
"h": 241.101,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.50177,
"c": 0.1663,
"h": 279.4
},
"luminance": 0.11681
}Semantic roles & 50–950 ramp
primary
#5452BF
secondary
#CDCE9F
accent
#D652D3
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83