#545FCB#545FCB
#545FCB is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.166 H 274.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #545FCB |
|---|---|
| RGB | rgb(84, 95, 203) |
| HSL | hsl(234, 53%, 56%) |
| HSV | hsv(234, 59%, 80%) |
| CMYK | cmyk(58.6%, 53.2%, 0%, 20.4%) |
| CIE-LAB | lab(44.77, 27.94, -57.61) |
| CIE-LCH | lch(44.77, 64.03, 295.87°) |
| OKLab | oklab(53.48% 0.0143 -0.1651) |
| OKLCH | oklch(53.48% 0.166 274.9) |
| XYZ | xyz(18.5244, 14.3796, 58.2877) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.27
Dark Periwinkle
#665FD1
ΔE00 3.36
Iris
#6258C4
ΔE00 3.91
Slate Blue
#6A5ACD
ΔE00 4.61
Light Indigo
#6D5ACF
ΔE00 5.13
Royal Blue
#4169E1
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#545FCB #CBC054
analogous
#549BCB #545FCB #8554CB
triadic
#545FCB #CB545F #5FCB54
tetradic
#545FCB #CB549B #CBC054 #54CB85
square
#545FCB #CB549B #CBC054 #54CB85
split-complementary
#545FCB #CB8554 #9BCB54
monochromatic
#262F7E #3540AD #545FCB #838BD9 #B2B7E8
Accessibility & contrast
On white
5.42
#545FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#545FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #545FCB
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##545FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##545FCB | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #545fcb; /* rgb */ color: rgb(84, 95, 203); /* oklch */ color: oklch(53.5% 0.166 274.9);
Tailwind
colors: {
custom: {
50: '#8e8cdb',
500: '#545fcb',
950: '#000000',
},
}SCSS
$custom: #545fcb; $custom-light: #8e8cdb; $custom-dark: #000000;
JSON
{
"hex": "#545fcb",
"rgb": {
"r": 84,
"g": 95,
"b": 203
},
"hsl": {
"h": 234.454,
"s": 53.363,
"l": 56.275
},
"oklch": {
"l": 0.53478,
"c": 0.16568,
"h": 274.9
},
"luminance": 0.14381
}Semantic roles & 50–950 ramp
primary
#545FCB
secondary
#D6D1A5
accent
#CF4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83