#514FAC#514FAC
#514FAC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.0% C 0.145 H 280.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #514FAC |
|---|---|
| RGB | rgb(81, 79, 172) |
| HSL | hsl(241, 37%, 49%) |
| HSV | hsv(241, 54%, 67%) |
| CMYK | cmyk(52.9%, 54.1%, 0%, 32.5%) |
| CIE-LAB | lab(38.41, 27.21, -49.78) |
| CIE-LCH | lch(38.41, 56.73, 298.66°) |
| OKLab | oklab(47.99% 0.0262 -0.1422) |
| OKLCH | oklch(47.99% 0.145 280.4) |
| XYZ | xyz(13.6334, 10.3190, 40.2951) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.30
Iris
#6258C4
ΔE00 5.05
Blueberry
#464196
ΔE00 5.17
Twilight
#4E518B
ΔE00 6.15
Bluey Purple
#6241C7
ΔE00 6.70
Blue With A Hint Of Purple
#533CC6
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514FAC #AAAC4F
analogous
#4F7CAC #514FAC #804FAC
triadic
#514FAC #AC514F #4FAC51
tetradic
#514FAC #AC4F7C #AAAC4F #4FAC80
square
#514FAC #AC4F7C #AAAC4F #4FAC80
split-complementary
#514FAC #AC804F #7CAC4F
monochromatic
#2A2858 #3D3C82 #514FAC #7977C1 #A2A1D4
Accessibility & contrast
On white
6.85
#514FAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#514FAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514FAC
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514FAC | 1.00 | 6.85 | 3.06 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A5EAF
Deuteranopia (green-blind)
#0B57AA
Tritanopia (blue-blind)
#2A6476
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #514fac; /* rgb */ color: rgb(81, 79, 172); /* oklch */ color: oklch(48.0% 0.145 280.4);
Tailwind
colors: {
custom: {
50: '#8980c5',
500: '#514fac',
950: '#000000',
},
}SCSS
$custom: #514fac; $custom-light: #8980c5; $custom-dark: #000000;
JSON
{
"hex": "#514fac",
"rgb": {
"r": 81,
"g": 79,
"b": 172
},
"hsl": {
"h": 241.29,
"s": 37.052,
"l": 49.216
},
"oklch": {
"l": 0.47992,
"c": 0.14464,
"h": 280.4
},
"luminance": 0.1032
}Semantic roles & 50–950 ramp
primary
#514FAC
secondary
#C0C196
accent
#CD5BCB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82