#315CB8#315CB8
#315CB8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.6% C 0.153 H 263.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #315CB8 |
|---|---|
| RGB | rgb(49, 92, 184) |
| HSL | hsl(221, 58%, 46%) |
| HSV | hsv(221, 73%, 72%) |
| CMYK | cmyk(73.4%, 50%, 0%, 27.8%) |
| CIE-LAB | lab(40.84, 17.42, -53.02) |
| CIE-LCH | lch(40.84, 55.81, 288.19°) |
| OKLab | oklab(49.6% -0.0184 -0.1524) |
| OKLCH | oklch(49.6% 0.153 263.1) |
| XYZ | xyz(13.7424, 11.7665, 46.8850) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.11
Sapphire
#0F52BA
ΔE00 3.49
Denim Blue
#3B5B92
ΔE00 4.78
French Blue
#436BAD
ΔE00 5.27
Dusky Blue
#475F94
ΔE00 5.48
Denim (survey)
#3B638C
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315CB8 #B88D31
analogous
#319FB8 #315CB8 #4931B8
triadic
#315CB8 #B8315C #5CB831
tetradic
#315CB8 #B8319F #B88D31 #31B849
square
#315CB8 #B8319F #B88D31 #31B849
split-complementary
#315CB8 #B84931 #9FB831
monochromatic
#172C57 #244488 #315CB8 #557CD2 #85A1DE
Accessibility & contrast
On white
6.26
#315CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#315CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315CB8
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315CB8 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2667BB
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #315cb8; /* rgb */ color: rgb(49, 92, 184); /* oklch */ color: oklch(49.6% 0.153 263.1);
Tailwind
colors: {
custom: {
50: '#7b89ce',
500: '#315cb8',
950: '#000000',
},
}SCSS
$custom: #315cb8; $custom-light: #7b89ce; $custom-dark: #000000;
JSON
{
"hex": "#315cb8",
"rgb": {
"r": 49,
"g": 92,
"b": 184
},
"hsl": {
"h": 220.889,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.496,
"c": 0.15345,
"h": 263.1
},
"luminance": 0.11768
}Semantic roles & 50–950 ramp
primary
#315CB8
secondary
#C8B07D
accent
#B047E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82