#545BB5#545BB5
#545BB5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.140 H 276.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #545BB5 |
|---|---|
| RGB | rgb(84, 91, 181) |
| HSL | hsl(236, 40%, 52%) |
| HSV | hsv(236, 54%, 71%) |
| CMYK | cmyk(53.6%, 49.7%, 0%, 29%) |
| CIE-LAB | lab(42.31, 23.20, -48.80) |
| CIE-LCH | lch(42.31, 54.04, 295.43°) |
| OKLab | oklab(51.17% 0.0168 -0.1392) |
| OKLCH | oklch(51.17% 0.14 276.9) |
| XYZ | xyz(15.7351, 12.7022, 45.3297) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.88
Dark Periwinkle
#665FD1
ΔE00 5.32
Warm Blue
#4B57DB
ΔE00 5.51
Slate Blue
#6A5ACD
ΔE00 5.58
Light Indigo
#6D5ACF
ΔE00 6.19
Dusky Blue
#475F94
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545BB5 #B5AE54
analogous
#548CB5 #545BB5 #7E54B5
triadic
#545BB5 #B5545B #5BB554
tetradic
#545BB5 #B5548C #B5AE54 #54B57E
square
#545BB5 #B5548C #B5AE54 #54B57E
split-complementary
#545BB5 #B57E54 #8CB554
monochromatic
#2B2F64 #3E438E #545BB5 #7F84C7 #A9ADDA
Accessibility & contrast
On white
5.93
#545BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#545BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545BB5
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545BB5 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F68B8
Deuteranopia (green-blind)
#2460B3
Tritanopia (blue-blind)
#276F7F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #545bb5; /* rgb */ color: rgb(84, 91, 181); /* oklch */ color: oklch(51.2% 0.140 276.9);
Tailwind
colors: {
custom: {
50: '#8b89cc',
500: '#545bb5',
950: '#000000',
},
}SCSS
$custom: #545bb5; $custom-light: #8b89cc; $custom-dark: #000000;
JSON
{
"hex": "#545bb5",
"rgb": {
"r": 84,
"g": 91,
"b": 181
},
"hsl": {
"h": 235.67,
"s": 39.592,
"l": 51.961
},
"oklch": {
"l": 0.51167,
"c": 0.1402,
"h": 276.9
},
"luminance": 0.12703
}Semantic roles & 50–950 ramp
primary
#545BB5
secondary
#C8C59D
accent
#C758CF
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0D0B13
muted
#7D7C82