#545FE5#545FE5
#545FE5 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.4% C 0.200 H 274.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #545FE5 |
|---|---|
| RGB | rgb(84, 95, 229) |
| HSL | hsl(235, 74%, 61%) |
| HSV | hsv(235, 63%, 90%) |
| CMYK | cmyk(63.3%, 58.5%, 0%, 10.2%) |
| CIE-LAB | lab(46.61, 36.59, -69.46) |
| CIE-LCH | lch(46.61, 78.51, 297.78°) |
| OKLab | oklab(55.43% 0.0149 -0.1999) |
| OKLCH | oklch(55.43% 0.2 274.3) |
| XYZ | xyz(21.8866, 15.7245, 75.9953) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.06
Dark Periwinkle
#665FD1
ΔE00 3.74
Azul
#1D5DEC
ΔE00 4.68
Royal Blue
#4169E1
ΔE00 4.76
Slate Blue
#6A5ACD
ΔE00 5.16
Light Indigo
#6D5ACF
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FE5 #E5DA54
analogous
#54A8E5 #545FE5 #9254E5
triadic
#545FE5 #E5545F #5FE554
tetradic
#545FE5 #E554A8 #E5DA54 #54E592
square
#545FE5 #E554A8 #E5DA54 #54E592
split-complementary
#545FE5 #E59254 #A8E554
monochromatic
#1924A5 #212FDB #545FE5 #8991ED #BEC2F5
Accessibility & contrast
On white
5.07
#545FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#545FE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FE5
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FE5 | 1.00 | 5.07 | 4.15 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#008099
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #545fe5; /* rgb */ color: rgb(84, 95, 229); /* oklch */ color: oklch(55.4% 0.200 274.3);
Tailwind
colors: {
custom: {
50: '#938cee',
500: '#545fe5',
950: '#000000',
},
}SCSS
$custom: #545fe5; $custom-light: #938cee; $custom-dark: #000000;
JSON
{
"hex": "#545fe5",
"rgb": {
"r": 84,
"g": 95,
"b": 229
},
"hsl": {
"h": 235.448,
"s": 73.604,
"l": 61.373
},
"oklch": {
"l": 0.5543,
"c": 0.20045,
"h": 274.3
},
"luminance": 0.15726
}Semantic roles & 50–950 ramp
primary
#545FE5
secondary
#E6E1AF
accent
#C710D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84