#515FC1#515FC1
#515FC1 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.153 H 273.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #515FC1 |
|---|---|
| RGB | rgb(81, 95, 193) |
| HSL | hsl(233, 47%, 54%) |
| HSV | hsv(233, 58%, 76%) |
| CMYK | cmyk(58%, 50.8%, 0%, 24.3%) |
| CIE-LAB | lab(43.92, 24.03, -53.22) |
| CIE-LCH | lch(43.92, 58.40, 294.30°) |
| OKLab | oklab(52.58% 0.0102 -0.1522) |
| OKLCH | oklch(52.58% 0.153 273.8) |
| XYZ | xyz(17.1080, 13.7827, 52.2005) |
| Luminance | 0.1378 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.35
Iris
#6258C4
ΔE00 4.44
Dark Periwinkle
#665FD1
ΔE00 4.57
Slate Blue
#6A5ACD
ΔE00 5.59
Royal Blue
#4169E1
ΔE00 5.86
Light Indigo
#6D5ACF
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515FC1 #C1B351
analogous
#5197C1 #515FC1 #7B51C1
triadic
#515FC1 #C1515F #5FC151
tetradic
#515FC1 #C15197 #C1B351 #51C17B
square
#515FC1 #C15197 #C1B351 #51C17B
split-complementary
#515FC1 #C17B51 #97C151
monochromatic
#283170 #38459D #515FC1 #7E88D1 #ABB2E1
Accessibility & contrast
On white
5.59
#515FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#515FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515FC1
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515FC1 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6DC5
Deuteranopia (green-blind)
#1463BF
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #515fc1; /* rgb */ color: rgb(81, 95, 193); /* oklch */ color: oklch(52.6% 0.153 273.8);
Tailwind
colors: {
custom: {
50: '#8b8cd4',
500: '#515fc1',
950: '#000000',
},
}SCSS
$custom: #515fc1; $custom-light: #8b8cd4; $custom-dark: #000000;
JSON
{
"hex": "#515fc1",
"rgb": {
"r": 81,
"g": 95,
"b": 193
},
"hsl": {
"h": 232.5,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.52575,
"c": 0.15256,
"h": 273.8
},
"luminance": 0.13784
}Semantic roles & 50–950 ramp
primary
#515FC1
secondary
#CFC99F
accent
#C651D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83