#315DC5#315DC5
#315DC5 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.170 H 264.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #315DC5 |
|---|---|
| RGB | rgb(49, 93, 197) |
| HSL | hsl(222, 60%, 48%) |
| HSV | hsv(222, 75%, 77%) |
| CMYK | cmyk(75.1%, 52.8%, 0%, 22.7%) |
| CIE-LAB | lab(42.02, 21.65, -58.69) |
| CIE-LCH | lch(42.02, 62.56, 290.25°) |
| OKLab | oklab(50.78% -0.0177 -0.169) |
| OKLCH | oklch(50.78% 0.17 264) |
| XYZ | xyz(15.2554, 12.5112, 54.4234) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.64
Sapphire
#0F52BA
ΔE00 4.20
Azul
#1D5DEC
ΔE00 4.65
French Blue
#436BAD
ΔE00 5.52
Royal Blue
#4169E1
ΔE00 5.70
Warm Blue
#4B57DB
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315DC5 #C59931
analogous
#31A7C5 #315DC5 #4F31C5
triadic
#315DC5 #C5315D #5DC531
tetradic
#315DC5 #C531A7 #C59931 #31C54F
square
#315DC5 #C531A7 #C59931 #31C54F
split-complementary
#315DC5 #C54F31 #A7C531
monochromatic
#192F63 #254694 #315DC5 #5D81D7 #8EA7E3
Accessibility & contrast
On white
6.00
#315DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#315DC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315DC5
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315DC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315DC5 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#116AC9
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #315dc5; /* rgb */ color: rgb(49, 93, 197); /* oklch */ color: oklch(50.8% 0.170 264.0);
Tailwind
colors: {
custom: {
50: '#7e8ad7',
500: '#315dc5',
950: '#000000',
},
}SCSS
$custom: #315dc5; $custom-light: #7e8ad7; $custom-dark: #000000;
JSON
{
"hex": "#315dc5",
"rgb": {
"r": 49,
"g": 93,
"b": 197
},
"hsl": {
"h": 222.162,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.5078,
"c": 0.16994,
"h": 264
},
"luminance": 0.12513
}Semantic roles & 50–950 ramp
primary
#315DC5
secondary
#CDB885
accent
#B444E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83