#545FCA#545FCA
#545FCA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.164 H 275.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #545FCA |
|---|---|
| RGB | rgb(84, 95, 202) |
| HSL | hsl(234, 53%, 56%) |
| HSV | hsv(234, 58%, 79%) |
| CMYK | cmyk(58.4%, 53%, 0%, 20.8%) |
| CIE-LAB | lab(44.71, 27.61, -57.15) |
| CIE-LCH | lch(44.71, 63.47, 295.79°) |
| OKLab | oklab(53.41% 0.0142 -0.1637) |
| OKLCH | oklch(53.41% 0.164 275) |
| XYZ | xyz(18.4056, 14.3321, 57.6621) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.36
Dark Periwinkle
#665FD1
ΔE00 3.42
Iris
#6258C4
ΔE00 3.89
Slate Blue
#6A5ACD
ΔE00 4.64
Light Indigo
#6D5ACF
ΔE00 5.17
Royal Blue
#4169E1
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FCA #CABF54
analogous
#549ACA #545FCA #8454CA
triadic
#545FCA #CA545F #5FCA54
tetradic
#545FCA #CA549A #CABF54 #54CA84
square
#545FCA #CA549A #CABF54 #54CA84
split-complementary
#545FCA #CA8454 #9ACA54
monochromatic
#272F7D #3540AC #545FCA #838BD8 #B1B6E7
Accessibility & contrast
On white
5.43
#545FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#545FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FCA
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FCA | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #545fca; /* rgb */ color: rgb(84, 95, 202); /* oklch */ color: oklch(53.4% 0.164 275.0);
Tailwind
colors: {
custom: {
50: '#8e8cdb',
500: '#545fca',
950: '#000000',
},
}SCSS
$custom: #545fca; $custom-light: #8e8cdb; $custom-dark: #000000;
JSON
{
"hex": "#545fca",
"rgb": {
"r": 84,
"g": 95,
"b": 202
},
"hsl": {
"h": 234.407,
"s": 52.679,
"l": 56.078
},
"oklch": {
"l": 0.53406,
"c": 0.16431,
"h": 275
},
"luminance": 0.14334
}Semantic roles & 50–950 ramp
primary
#545FCA
secondary
#D5D1A5
accent
#CF4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83