#5462BF#5462BF
#5462BF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.145 H 274.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5462BF |
|---|---|
| RGB | rgb(84, 98, 191) |
| HSL | hsl(232, 46%, 54%) |
| HSV | hsv(232, 56%, 75%) |
| CMYK | cmyk(56%, 48.7%, 0%, 25.1%) |
| CIE-LAB | lab(44.77, 22.08, -50.68) |
| CIE-LCH | lch(44.77, 55.28, 293.55°) |
| OKLab | oklab(53.23% 0.0101 -0.1446) |
| OKLCH | oklch(53.23% 0.145 274) |
| XYZ | xyz(17.4248, 14.3805, 51.1376) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.67
Iris
#6258C4
ΔE00 4.92
Warm Blue
#4B57DB
ΔE00 5.20
Royal Blue
#4169E1
ΔE00 5.66
Slate Blue
#6A5ACD
ΔE00 5.88
Cornflower Blue
#5170D7
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5462BF #BFB154
analogous
#5498BF #5462BF #7C54BF
triadic
#5462BF #BF5462 #62BF54
tetradic
#5462BF #BF5498 #BFB154 #54BF7C
square
#5462BF #BF5498 #BFB154 #54BF7C
split-complementary
#5462BF #BF7C54 #98BF54
monochromatic
#2A336F #3A479C #5462BF #818BD0 #ADB4E0
Accessibility & contrast
On white
5.42
#5462BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#5462BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5462BF
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5462BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5462BF | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356FC2
Deuteranopia (green-blind)
#2566BD
Tritanopia (blue-blind)
#177787
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5462bf; /* rgb */ color: rgb(84, 98, 191); /* oklch */ color: oklch(53.2% 0.145 274.0);
Tailwind
colors: {
custom: {
50: '#8c8ed3',
500: '#5462bf',
950: '#000000',
},
}SCSS
$custom: #5462bf; $custom-light: #8c8ed3; $custom-dark: #000000;
JSON
{
"hex": "#5462bf",
"rgb": {
"r": 84,
"g": 98,
"b": 191
},
"hsl": {
"h": 232.15,
"s": 45.532,
"l": 53.922
},
"oklch": {
"l": 0.5323,
"c": 0.14499,
"h": 274
},
"luminance": 0.14382
}Semantic roles & 50–950 ramp
primary
#5462BF
secondary
#CEC8A1
accent
#C453D5
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83