#315FB4#315FB4
#315FB4 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.144 H 261.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #315FB4 |
|---|---|
| RGB | rgb(49, 95, 180) |
| HSL | hsl(219, 57%, 45%) |
| HSV | hsv(219, 73%, 71%) |
| CMYK | cmyk(72.8%, 47.2%, 0%, 29.4%) |
| CIE-LAB | lab(41.42, 13.96, -49.74) |
| CIE-LCH | lch(41.42, 51.67, 285.68°) |
| OKLab | oklab(49.96% -0.0215 -0.1426) |
| OKLCH | oklch(49.96% 0.144 261.4) |
| XYZ | xyz(13.5941, 12.1312, 44.7963) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.28
French Blue
#436BAD
ΔE00 4.22
Sapphire
#0F52BA
ΔE00 4.40
Denim Blue
#3B5B92
ΔE00 4.46
Mid Blue
#276AB3
ΔE00 4.89
Denim (survey)
#3B638C
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315FB4 #B48631
analogous
#31A1B4 #315FB4 #4431B4
triadic
#315FB4 #B4315F #5FB431
tetradic
#315FB4 #B431A1 #B48631 #31B444
square
#315FB4 #B431A1 #B48631 #31B444
split-complementary
#315FB4 #B44431 #A1B431
monochromatic
#172C54 #244684 #315FB4 #527ED0 #82A2DD
Accessibility & contrast
On white
6.13
#315FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#315FB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315FB4
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315FB4 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3268B7
Deuteranopia (green-blind)
#115CB2
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #315fb4; /* rgb */ color: rgb(49, 95, 180); /* oklch */ color: oklch(50.0% 0.144 261.4);
Tailwind
colors: {
custom: {
50: '#7a8bcb',
500: '#315fb4',
950: '#000000',
},
}SCSS
$custom: #315fb4; $custom-light: #7a8bcb; $custom-dark: #000000;
JSON
{
"hex": "#315fb4",
"rgb": {
"r": 49,
"g": 95,
"b": 180
},
"hsl": {
"h": 218.931,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.4996,
"c": 0.14426,
"h": 261.4
},
"luminance": 0.12133
}Semantic roles & 50–950 ramp
primary
#315FB4
secondary
#C6AC7B
accent
#AB47E0
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82