#545FB5#545FB5
#545FB5 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.0% C 0.135 H 275.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #545FB5 |
|---|---|
| RGB | rgb(84, 95, 181) |
| HSL | hsl(233, 40%, 52%) |
| HSV | hsv(233, 54%, 71%) |
| CMYK | cmyk(53.6%, 47.5%, 0%, 29%) |
| CIE-LAB | lab(43.37, 20.68, -47.11) |
| CIE-LCH | lch(43.37, 51.45, 293.70°) |
| OKLab | oklab(51.97% 0.0122 -0.1342) |
| OKLCH | oklch(51.97% 0.135 275.2) |
| XYZ | xyz(16.0862, 13.4044, 45.4468) |
| Luminance | 0.1341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.74
Dark Periwinkle
#665FD1
ΔE00 5.45
Dusky Blue
#475F94
ΔE00 5.65
Warm Blue
#4B57DB
ΔE00 5.93
Slate Blue
#6A5ACD
ΔE00 6.14
Light Indigo
#6D5ACF
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FB5 #B5AA54
analogous
#5490B5 #545FB5 #7A54B5
triadic
#545FB5 #B5545F #5FB554
tetradic
#545FB5 #B55490 #B5AA54 #54B57A
square
#545FB5 #B55490 #B5AA54 #54B57A
split-complementary
#545FB5 #B57A54 #90B554
monochromatic
#2B3164 #3E478E #545FB5 #7F87C7 #A9AFDA
Accessibility & contrast
On white
5.70
#545FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#545FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FB5
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FB5 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386BB8
Deuteranopia (green-blind)
#2D63B3
Tritanopia (blue-blind)
#277281
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #545fb5; /* rgb */ color: rgb(84, 95, 181); /* oklch */ color: oklch(52.0% 0.135 275.2);
Tailwind
colors: {
custom: {
50: '#8b8ccc',
500: '#545fb5',
950: '#000000',
},
}SCSS
$custom: #545fb5; $custom-light: #8b8ccc; $custom-dark: #000000;
JSON
{
"hex": "#545fb5",
"rgb": {
"r": 84,
"g": 95,
"b": 181
},
"hsl": {
"h": 233.196,
"s": 39.592,
"l": 51.961
},
"oklch": {
"l": 0.51966,
"c": 0.13474,
"h": 275.2
},
"luminance": 0.13405
}Semantic roles & 50–950 ramp
primary
#545FB5
secondary
#C8C39D
accent
#C258CF
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C13
muted
#7D7D82