#515CDB#515CDB
#515CDB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.192 H 274.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #515CDB |
|---|---|
| RGB | rgb(81, 92, 219) |
| HSL | hsl(235, 66%, 59%) |
| HSV | hsv(235, 63%, 86%) |
| CMYK | cmyk(63%, 58%, 0%, 14.1%) |
| CIE-LAB | lab(44.96, 34.63, -66.47) |
| CIE-LCH | lch(44.96, 74.95, 297.52°) |
| OKLab | oklab(53.93% 0.0142 -0.1912) |
| OKLCH | oklch(53.93% 0.192 274.3) |
| XYZ | xyz(20.0024, 14.5164, 68.7520) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.62
Dark Periwinkle
#665FD1
ΔE00 3.52
Iris
#6258C4
ΔE00 4.49
Azul
#1D5DEC
ΔE00 4.55
Slate Blue
#6A5ACD
ΔE00 4.62
Light Indigo
#6D5ACF
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515CDB #DBD051
analogous
#51A1DB #515CDB #8B51DB
triadic
#515CDB #DB515C #5CDB51
tetradic
#515CDB #DB51A1 #DBD051 #51DB8B
square
#515CDB #DB51A1 #DBD051 #51DB8B
split-complementary
#515CDB #DB8B51 #A1DB51
monochromatic
#1E2893 #2935C6 #515CDB #848CE5 #B6BBF0
Accessibility & contrast
On white
5.38
#515CDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#515CDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515CDB
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515CDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515CDB | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #515cdb; /* rgb */ color: rgb(81, 92, 219); /* oklch */ color: oklch(53.9% 0.192 274.3);
Tailwind
colors: {
custom: {
50: '#908ae7',
500: '#515cdb',
950: '#000000',
},
}SCSS
$custom: #515cdb; $custom-light: #908ae7; $custom-dark: #000000;
JSON
{
"hex": "#515cdb",
"rgb": {
"r": 81,
"g": 92,
"b": 219
},
"hsl": {
"h": 235.217,
"s": 65.714,
"l": 58.824
},
"oklch": {
"l": 0.53928,
"c": 0.19175,
"h": 274.3
},
"luminance": 0.14518
}Semantic roles & 50–950 ramp
primary
#515CDB
secondary
#DFDBA9
accent
#DB3FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84