#315DB7#315DB7
#315DB7 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.7% C 0.151 H 262.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #315DB7 |
|---|---|
| RGB | rgb(49, 93, 183) |
| HSL | hsl(220, 58%, 45%) |
| HSV | hsv(220, 73%, 72%) |
| CMYK | cmyk(73.2%, 49.2%, 0%, 28.2%) |
| CIE-LAB | lab(41.06, 16.39, -52.09) |
| CIE-LCH | lch(41.06, 54.61, 287.47°) |
| OKLab | oklab(49.74% -0.0193 -0.1496) |
| OKLCH | oklch(49.74% 0.151 262.6) |
| XYZ | xyz(13.7252, 11.8991, 46.3640) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.81
Sapphire
#0F52BA
ΔE00 3.76
Denim Blue
#3B5B92
ΔE00 4.67
French Blue
#436BAD
ΔE00 4.92
Dusky Blue
#475F94
ΔE00 5.36
Denim (survey)
#3B638C
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315DB7 #B78B31
analogous
#31A0B7 #315DB7 #4831B7
triadic
#315DB7 #B7315D #5DB731
tetradic
#315DB7 #B731A0 #B78B31 #31B748
square
#315DB7 #B731A0 #B78B31 #31B748
split-complementary
#315DB7 #B74831 #A0B731
monochromatic
#172C56 #244487 #315DB7 #547DD1 #84A2DE
Accessibility & contrast
On white
6.21
#315DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#315DB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315DB7
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315DB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315DB7 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A67BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #315db7; /* rgb */ color: rgb(49, 93, 183); /* oklch */ color: oklch(49.7% 0.151 262.6);
Tailwind
colors: {
custom: {
50: '#7b8acd',
500: '#315db7',
950: '#000000',
},
}SCSS
$custom: #315db7; $custom-light: #7b8acd; $custom-dark: #000000;
JSON
{
"hex": "#315db7",
"rgb": {
"r": 49,
"g": 93,
"b": 183
},
"hsl": {
"h": 220.299,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.49741,
"c": 0.15085,
"h": 262.6
},
"luminance": 0.11901
}Semantic roles & 50–950 ramp
primary
#315DB7
secondary
#C8AF7C
accent
#AE47E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B13
muted
#7C7C82