#545FD3#545FD3
#545FD3 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.177 H 274.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #545FD3 |
|---|---|
| RGB | rgb(84, 95, 211) |
| HSL | hsl(235, 59%, 58%) |
| HSV | hsv(235, 60%, 83%) |
| CMYK | cmyk(60.2%, 55%, 0%, 17.3%) |
| CIE-LAB | lab(45.32, 30.60, -61.32) |
| CIE-LCH | lch(45.32, 68.53, 296.52°) |
| OKLab | oklab(54.06% 0.0147 -0.176) |
| OKLCH | oklch(54.06% 0.177 274.8) |
| XYZ | xyz(19.5024, 14.7709, 63.4387) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.72
Dark Periwinkle
#665FD1
ΔE00 3.10
Iris
#6258C4
ΔE00 4.21
Slate Blue
#6A5ACD
ΔE00 4.51
Royal Blue
#4169E1
ΔE00 4.90
Light Indigo
#6D5ACF
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FD3 #D3C854
analogous
#549FD3 #545FD3 #8854D3
triadic
#545FD3 #D3545F #5FD354
tetradic
#545FD3 #D3549F #D3C854 #54D388
square
#545FD3 #D3549F #D3C854 #54D388
split-complementary
#545FD3 #D38854 #9FD354
monochromatic
#232C89 #303CBA #545FD3 #858DE0 #B5BAEC
Accessibility & contrast
On white
5.31
#545FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#545FD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FD3
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FD3 | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0271D7
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #545fd3; /* rgb */ color: rgb(84, 95, 211); /* oklch */ color: oklch(54.1% 0.177 274.8);
Tailwind
colors: {
custom: {
50: '#908ce1',
500: '#545fd3',
950: '#000000',
},
}SCSS
$custom: #545fd3; $custom-light: #908ce1; $custom-dark: #000000;
JSON
{
"hex": "#545fd3",
"rgb": {
"r": 84,
"g": 95,
"b": 211
},
"hsl": {
"h": 234.803,
"s": 59.07,
"l": 57.843
},
"oklch": {
"l": 0.5406,
"c": 0.17658,
"h": 274.8
},
"luminance": 0.14772
}Semantic roles & 50–950 ramp
primary
#545FD3
secondary
#DBD6A8
accent
#D546E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83