#514FB3#514FB3
#514FB3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.154 H 279.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #514FB3 |
|---|---|
| RGB | rgb(81, 79, 179) |
| HSL | hsl(241, 40%, 51%) |
| HSV | hsv(241, 56%, 70%) |
| CMYK | cmyk(54.7%, 55.9%, 0%, 29.8%) |
| CIE-LAB | lab(38.89, 29.48, -53.15) |
| CIE-LCH | lch(38.89, 60.78, 299.02°) |
| OKLab | oklab(48.5% 0.0264 -0.1521) |
| OKLCH | oklch(48.5% 0.154 279.8) |
| XYZ | xyz(14.3235, 10.5951, 43.9294) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.93
Iris
#6258C4
ΔE00 4.39
Blueberry
#464196
ΔE00 5.87
Bluey Purple
#6241C7
ΔE00 6.02
Blue With A Hint Of Purple
#533CC6
ΔE00 6.12
Warm Blue
#4B57DB
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514FB3 #B1B34F
analogous
#4F7FB3 #514FB3 #834FB3
triadic
#514FB3 #B3514F #4FB351
tetradic
#514FB3 #B34F7F #B1B34F #4FB383
square
#514FB3 #B34F7F #B1B34F #4FB383
split-complementary
#514FB3 #B3834F #7FB34F
monochromatic
#2A295F #3D3B89 #514FB3 #7B7AC5 #A6A4D8
Accessibility & contrast
On white
6.73
#514FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#514FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514FB3
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514FB3 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#085FB6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#236679
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #514fb3; /* rgb */ color: rgb(81, 79, 179); /* oklch */ color: oklch(48.5% 0.154 279.8);
Tailwind
colors: {
custom: {
50: '#8a80ca',
500: '#514fb3',
950: '#000000',
},
}SCSS
$custom: #514fb3; $custom-light: #8a80ca; $custom-dark: #000000;
JSON
{
"hex": "#514fb3",
"rgb": {
"r": 81,
"g": 79,
"b": 179
},
"hsl": {
"h": 241.2,
"s": 39.683,
"l": 50.588
},
"oklch": {
"l": 0.48504,
"c": 0.15442,
"h": 279.8
},
"luminance": 0.10596
}Semantic roles & 50–950 ramp
primary
#514FB3
secondary
#C4C599
accent
#D058CD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82