#514FDB#514FDB
#514FDB is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.7% C 0.207 H 276.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #514FDB |
|---|---|
| RGB | rgb(81, 79, 219) |
| HSL | hsl(241, 66%, 58%) |
| HSV | hsv(241, 64%, 86%) |
| CMYK | cmyk(63%, 63.9%, 0%, 14.1%) |
| CIE-LAB | lab(41.93, 42.51, -71.42) |
| CIE-LCH | lch(41.93, 83.11, 300.76°) |
| OKLab | oklab(51.7% 0.0251 -0.2058) |
| OKLCH | oklch(51.7% 0.207 276.9) |
| XYZ | xyz(18.9714, 12.4542, 68.4083) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.64
Iris
#6258C4
ΔE00 4.56
Purpleish Blue
#6140EF
ΔE00 4.80
Slate Blue
#6A5ACD
ΔE00 5.00
Light Indigo
#6D5ACF
ΔE00 5.30
Electric Blue
#0652FF
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514FDB #D9DB4F
analogous
#4F93DB #514FDB #974FDB
triadic
#514FDB #DB514F #4FDB51
tetradic
#514FDB #DB4F93 #D9DB4F #4FDB97
square
#514FDB #DB4F93 #D9DB4F #4FDB97
split-complementary
#514FDB #DB974F #93DB4F
monochromatic
#1F1E92 #2A28C5 #514FDB #8382E5 #B5B5F0
Accessibility & contrast
On white
6.02
#514FDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#514FDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #514FDB
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514FDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514FDB | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #514fdb; /* rgb */ color: rgb(81, 79, 219); /* oklch */ color: oklch(51.7% 0.207 276.9);
Tailwind
colors: {
custom: {
50: '#9181e7',
500: '#514fdb',
950: '#000000',
},
}SCSS
$custom: #514fdb; $custom-light: #9181e7; $custom-dark: #000000;
JSON
{
"hex": "#514fdb",
"rgb": {
"r": 81,
"g": 79,
"b": 219
},
"hsl": {
"h": 240.857,
"s": 66.038,
"l": 58.431
},
"oklch": {
"l": 0.51695,
"c": 0.20736,
"h": 276.9
},
"luminance": 0.12456
}Semantic roles & 50–950 ramp
primary
#514FDB
secondary
#DEDFA7
accent
#E93FE7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84