#515FCC#515FCC
#515FCC is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.168 H 273.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #515FCC |
|---|---|
| RGB | rgb(81, 95, 204) |
| HSL | hsl(233, 55%, 56%) |
| HSV | hsv(233, 60%, 80%) |
| CMYK | cmyk(60.3%, 53.4%, 0%, 20%) |
| CIE-LAB | lab(44.65, 27.73, -58.40) |
| CIE-LCH | lch(44.65, 64.65, 295.40°) |
| OKLab | oklab(53.36% 0.0111 -0.1674) |
| OKLCH | oklch(53.36% 0.168 273.8) |
| XYZ | xyz(18.3810, 14.2919, 58.9050) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.17
Dark Periwinkle
#665FD1
ΔE00 3.80
Iris
#6258C4
ΔE00 4.33
Royal Blue
#4169E1
ΔE00 5.00
Slate Blue
#6A5ACD
ΔE00 5.06
Azul
#1D5DEC
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515FCC #CCBE51
analogous
#519CCC #515FCC #8051CC
triadic
#515FCC #CC515F #5FCC51
tetradic
#515FCC #CC519C #CCBE51 #51CC80
square
#515FCC #CC519C #CCBE51 #51CC80
split-complementary
#515FCC #CC8051 #9CCC51
monochromatic
#252F7E #3341AD #515FCC #808BDA #B0B6E8
Accessibility & contrast
On white
5.44
#515FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#515FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515FCC
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515FCC | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#186FD0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #515fcc; /* rgb */ color: rgb(81, 95, 204); /* oklch */ color: oklch(53.4% 0.168 273.8);
Tailwind
colors: {
custom: {
50: '#8d8cdc',
500: '#515fcc',
950: '#000000',
},
}SCSS
$custom: #515fcc; $custom-light: #8d8cdc; $custom-dark: #000000;
JSON
{
"hex": "#515fcc",
"rgb": {
"r": 81,
"g": 95,
"b": 204
},
"hsl": {
"h": 233.171,
"s": 54.667,
"l": 55.882
},
"oklch": {
"l": 0.53356,
"c": 0.16781,
"h": 273.8
},
"luminance": 0.14293
}Semantic roles & 50–950 ramp
primary
#515FCC
secondary
#D6D0A3
accent
#CD4ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83