#515FBE#515FBE
#515FBE is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.4% C 0.148 H 273.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #515FBE |
|---|---|
| RGB | rgb(81, 95, 190) |
| HSL | hsl(232, 46%, 53%) |
| HSV | hsv(232, 57%, 75%) |
| CMYK | cmyk(57.4%, 50%, 0%, 25.5%) |
| CIE-LAB | lab(43.73, 23.03, -51.79) |
| CIE-LCH | lch(43.73, 56.68, 293.97°) |
| OKLab | oklab(52.37% 0.01 -0.148) |
| OKLCH | oklch(52.37% 0.148 273.8) |
| XYZ | xyz(16.7768, 13.6502, 50.4559) |
| Luminance | 0.1365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.56
Warm Blue
#4B57DB
ΔE00 4.72
Dark Periwinkle
#665FD1
ΔE00 4.85
Slate Blue
#6A5ACD
ΔE00 5.80
Royal Blue
#4169E1
ΔE00 6.14
Light Indigo
#6D5ACF
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515FBE #BEB051
analogous
#5195BE #515FBE #7951BE
triadic
#515FBE #BE515F #5FBE51
tetradic
#515FBE #BE5195 #BEB051 #51BE79
square
#515FBE #BE5195 #BEB051 #51BE79
split-complementary
#515FBE #BE7951 #95BE51
monochromatic
#28316C #394599 #515FBE #7E88CF #AAB1DF
Accessibility & contrast
On white
5.63
#515FBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#515FBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515FBE
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515FBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515FBE | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6CC1
Deuteranopia (green-blind)
#1C63BC
Tritanopia (blue-blind)
#087485
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #515fbe; /* rgb */ color: rgb(81, 95, 190); /* oklch */ color: oklch(52.4% 0.148 273.8);
Tailwind
colors: {
custom: {
50: '#8b8cd2',
500: '#515fbe',
950: '#000000',
},
}SCSS
$custom: #515fbe; $custom-light: #8b8cd2; $custom-dark: #000000;
JSON
{
"hex": "#515fbe",
"rgb": {
"r": 81,
"g": 95,
"b": 190
},
"hsl": {
"h": 232.294,
"s": 45.607,
"l": 53.137
},
"oklch": {
"l": 0.52367,
"c": 0.14834,
"h": 273.8
},
"luminance": 0.13651
}Semantic roles & 50–950 ramp
primary
#515FBE
secondary
#CDC79E
accent
#C453D5
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83