#514FBC#514FBC
#514FBC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.2% C 0.167 H 279.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #514FBC |
|---|---|
| RGB | rgb(81, 79, 188) |
| HSL | hsl(241, 45%, 52%) |
| HSV | hsv(241, 58%, 74%) |
| CMYK | cmyk(56.9%, 58%, 0%, 26.3%) |
| CIE-LAB | lab(39.53, 32.41, -57.40) |
| CIE-LCH | lch(39.53, 65.92, 299.46°) |
| OKLab | oklab(49.18% 0.0265 -0.1646) |
| OKLCH | oklch(49.18% 0.167 279.1) |
| XYZ | xyz(15.2636, 10.9711, 48.8805) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.83
Ocean Blue
#4F42B5
ΔE00 3.92
Warm Blue
#4B57DB
ΔE00 4.97
Bluey Purple
#6241C7
ΔE00 5.37
Blue With A Hint Of Purple
#533CC6
ΔE00 5.53
Slate Blue
#6A5ACD
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514FBC #BABC4F
analogous
#4F84BC #514FBC #884FBC
triadic
#514FBC #BC514F #4FBC51
tetradic
#514FBC #BC4F84 #BABC4F #4FBC88
square
#514FBC #BC4F84 #BABC4F #4FBC88
split-complementary
#514FBC #BC884F #84BC4F
monochromatic
#292869 #3A3995 #514FBC #7D7BCD #A9A8DE
Accessibility & contrast
On white
6.57
#514FBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#514FBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514FBC
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514FBC | 1.00 | 6.57 | 3.19 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#15697E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #514fbc; /* rgb */ color: rgb(81, 79, 188); /* oklch */ color: oklch(49.2% 0.167 279.1);
Tailwind
colors: {
custom: {
50: '#8b80d1',
500: '#514fbc',
950: '#000000',
},
}SCSS
$custom: #514fbc; $custom-light: #8b80d1; $custom-dark: #000000;
JSON
{
"hex": "#514fbc",
"rgb": {
"r": 81,
"g": 79,
"b": 188
},
"hsl": {
"h": 241.101,
"s": 44.856,
"l": 52.353
},
"oklch": {
"l": 0.49184,
"c": 0.16676,
"h": 279.1
},
"luminance": 0.10972
}Semantic roles & 50–950 ramp
primary
#514FBC
secondary
#CACB9C
accent
#D553D2
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82