#514DBC#514DBC
#514DBC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.8% C 0.169 H 279.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #514DBC |
|---|---|
| RGB | rgb(81, 77, 188) |
| HSL | hsl(242, 45%, 52%) |
| HSV | hsv(242, 59%, 74%) |
| CMYK | cmyk(56.9%, 59%, 0%, 26.3%) |
| CIE-LAB | lab(39.05, 33.65, -58.18) |
| CIE-LCH | lch(39.05, 67.21, 300.05°) |
| OKLab | oklab(48.83% 0.0285 -0.167) |
| OKLCH | oklch(48.83% 0.169 279.7) |
| XYZ | xyz(15.1215, 10.6869, 48.8332) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.32
Iris
#6258C4
ΔE00 4.19
Bluey Purple
#6241C7
ΔE00 4.87
Blue With A Hint Of Purple
#533CC6
ΔE00 4.93
Warm Blue
#4B57DB
ΔE00 5.31
Blue Blue
#2242C7
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514DBC #B8BC4D
analogous
#4D81BC #514DBC #894DBC
triadic
#514DBC #BC514D #4DBC51
tetradic
#514DBC #BC4D81 #B8BC4D #4DBC89
square
#514DBC #BC4D81 #B8BC4D #4DBC89
split-complementary
#514DBC #BC894D #81BC4D
monochromatic
#292768 #3B3894 #514DBC #7C79CD #A8A6DD
Accessibility & contrast
On white
6.69
#514DBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#514DBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514DBC
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514DBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514DBC | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#15677D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #514dbc; /* rgb */ color: rgb(81, 77, 188); /* oklch */ color: oklch(48.8% 0.169 279.7);
Tailwind
colors: {
custom: {
50: '#8b7fd1',
500: '#514dbc',
950: '#000000',
},
}SCSS
$custom: #514dbc; $custom-light: #8b7fd1; $custom-dark: #000000;
JSON
{
"hex": "#514dbc",
"rgb": {
"r": 81,
"g": 77,
"b": 188
},
"hsl": {
"h": 242.162,
"s": 45.306,
"l": 51.961
},
"oklch": {
"l": 0.48826,
"c": 0.16938,
"h": 279.7
},
"luminance": 0.10688
}Semantic roles & 50–950 ramp
primary
#514DBC
secondary
#C9CB9A
accent
#D553D0
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82