#315BB1#315BB1
#315BB1 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.145 H 262.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #315BB1 |
|---|---|
| RGB | rgb(49, 91, 177) |
| HSL | hsl(220, 57%, 44%) |
| HSV | hsv(220, 72%, 69%) |
| CMYK | cmyk(72.3%, 48.6%, 0%, 30.6%) |
| CIE-LAB | lab(40.09, 15.44, -50.12) |
| CIE-LCH | lch(40.09, 52.44, 287.12°) |
| OKLab | oklab(48.88% -0.0185 -0.1438) |
| OKLCH | oklch(48.88% 0.145 262.7) |
| XYZ | xyz(12.9407, 11.3081, 43.0871) |
| Luminance | 0.1131 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.30
Sapphire
#0F52BA
ΔE00 3.32
Denim Blue
#3B5B92
ΔE00 3.96
Dusky Blue
#475F94
ΔE00 4.92
Dusk Blue
#26538D
ΔE00 5.39
Denim (survey)
#3B638C
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315BB1 #B18731
analogous
#319BB1 #315BB1 #4731B1
triadic
#315BB1 #B1315B #5BB131
tetradic
#315BB1 #B1319B #B18731 #31B147
square
#315BB1 #B1319B #B18731 #31B147
split-complementary
#315BB1 #B14731 #9BB131
monochromatic
#162A51 #244281 #315BB1 #517ACF #809EDC
Accessibility & contrast
On white
6.44
#315BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#315BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315BB1
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315BB1 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C65B4
Deuteranopia (green-blind)
#0459AF
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #315bb1; /* rgb */ color: rgb(49, 91, 177); /* oklch */ color: oklch(48.9% 0.145 262.7);
Tailwind
colors: {
custom: {
50: '#7a88c9',
500: '#315bb1',
950: '#000000',
},
}SCSS
$custom: #315bb1; $custom-light: #7a88c9; $custom-dark: #000000;
JSON
{
"hex": "#315bb1",
"rgb": {
"r": 49,
"g": 91,
"b": 177
},
"hsl": {
"h": 220.313,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.48879,
"c": 0.145,
"h": 262.7
},
"luminance": 0.11309
}Semantic roles & 50–950 ramp
primary
#315BB1
secondary
#C5AC79
accent
#AE48E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82