#545FC0#545FC0
#545FC0 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.7% C 0.150 H 275.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #545FC0 |
|---|---|
| RGB | rgb(84, 95, 192) |
| HSL | hsl(234, 46%, 54%) |
| HSV | hsv(234, 56%, 75%) |
| CMYK | cmyk(56.3%, 50.5%, 0%, 24.7%) |
| CIE-LAB | lab(44.05, 24.30, -52.42) |
| CIE-LCH | lch(44.05, 57.78, 294.87°) |
| OKLab | oklab(52.7% 0.0135 -0.1498) |
| OKLCH | oklch(52.7% 0.15 275.1) |
| XYZ | xyz(17.2597, 13.8738, 51.6274) |
| Luminance | 0.1388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.01
Dark Periwinkle
#665FD1
ΔE00 4.22
Warm Blue
#4B57DB
ΔE00 4.47
Slate Blue
#6A5ACD
ΔE00 5.17
Light Indigo
#6D5ACF
ΔE00 5.75
Royal Blue
#4169E1
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FC0 #C0B554
analogous
#5495C0 #545FC0 #7F54C0
triadic
#545FC0 #C0545F #5FC054
tetradic
#545FC0 #C05495 #C0B554 #54C07F
square
#545FC0 #C05495 #C0B554 #54C07F
split-complementary
#545FC0 #C07F54 #95C054
monochromatic
#293170 #3A449D #545FC0 #8189D0 #ADB3E1
Accessibility & contrast
On white
5.56
#545FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#545FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FC0
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FC0 | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D6DC3
Deuteranopia (green-blind)
#1B64BE
Tritanopia (blue-blind)
#167586
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #545fc0; /* rgb */ color: rgb(84, 95, 192); /* oklch */ color: oklch(52.7% 0.150 275.1);
Tailwind
colors: {
custom: {
50: '#8d8cd4',
500: '#545fc0',
950: '#000000',
},
}SCSS
$custom: #545fc0; $custom-light: #8d8cd4; $custom-dark: #000000;
JSON
{
"hex": "#545fc0",
"rgb": {
"r": 84,
"g": 95,
"b": 192
},
"hsl": {
"h": 233.889,
"s": 46.154,
"l": 54.118
},
"oklch": {
"l": 0.52704,
"c": 0.15038,
"h": 275.1
},
"luminance": 0.13875
}Semantic roles & 50–950 ramp
primary
#545FC0
secondary
#CFCAA1
accent
#C852D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83